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

UI interpretation quetsions: --changelist + --depth

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-12-21 18:23:33 CET

I'm trying to decide how Subversion should interpret a command-line like the
following:

   svn plist -v --depth files --changelist FOO /path/to/wc

Does this mean, "For all objects in and under (to depth infinity)
/path/to/wc that are in the FOO changelist, do a files-depth verbose
property listing"?

Or does it mean, "For all objects within files-depth of /path/to/wc and
which are in the FOO changelist, do a verbose property listing?"

My instinct is that the latter is more likely the intended use. But that
causes interesting side-effects:

   $ svn info /path/to/wc --changelist FOO
   ## show nothing if wc isn't in FOO; shows wc only (empty-depth) if it is
   $ svn info /path/to/wc --changelist FOO --depth infinity
   ## ah, that's what i meant! info for all my FOO items!

Of course, the former interpretation could be weird, too:

   $ svn update /path/to/wc --changelist FOO --depth files
   ## Grow/shrink only the FOO items to depth files? But they *are* files!

Heaven forbid the interpration be something like, "For all objects within
DEPTH of the specified explicit targets and in CHANGELIST, perform the
operation to the shallower of DEPTH or DEPTH-from-TARGET." Yikes.

Thoughts?

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Sat Dec 22 14:10:59 2007

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