On Sat, Jun 11, 2011 at 12:24:12AM +0300, Daniel Shahaf wrote: > pbu...@tigris.org wrote on Thu, Jun 02, 2011 at 08:00:38 -0700: > > There's no easy way to determine the shallow structure of a working copy > > (beyond > > writing a script that parses the output of 'svn info -R'). > > > > That would be useful script, I think :-) > > There is: > sqlite3 .svn/wc.db 'SELECT local_relpath, depth FROM nodes WHERE depth != > '"'infinity'" > but it's not really something we can suggest (without wrapping it) to > people who don't know the db schema.
Maybe we should add something like svn info --only-list-items-with-ambient-depth-lower-than-infinity Can't think of a better name right now... svn info --show-shallow-subtrees, maybe? This would suppress the usual output, and just list the relpaths of these nodes and their ambient depths. See also http://subversion.tigris.org/issues/show_bug.cgi?id=3910 which is about making 'svn status' show this information. If svn info had a better way to show this information we don't need status to do it.