[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

1.5: svn status --depth=files shows directories

From: Bert Huijben <B.Huijben_at_competence.biz>
Date: Thu, 17 Apr 2008 10:54:32 +0200


On a test environment I have the following layout

C:\projects (Checkout from file:///f:/_repos/txt)
C:\projects\project1 (Checkout from https://..../...; marked as an
svn:external on c:\projects)
C:\projects\newproject (Checkout from https://.../....2/...; not marked
as svn:external yet)

When I run
# svn status --depth=files C:\projects
X project1
? newproject

But when I look in svn_types.h
/* D + its file children, but not subdirs. Updates will pull in any
     files not already present, but not subdirectories. */
  svn_depth_files = 1,

So as a user I would expect /not/ to see the subdirectories. (I did not
find a more high level authorative definition on the depths)

I know how the wc library uses the depth to optimize which entries files
to read (And I *really like* this optimization as a library user); but I
don't think the CLI users want to see directories if they asked for just
the files.

I think we should document this behavior or change it before releasing

I'm afraid this result depends on behavior of the current working copy
library and might change with the new WC implementation in planning. And
as the depth support is new in 1.5 we can still fix it; but we must
support it until 2.0 if we don't.


To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-17 10:55:05 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.