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

svn status --max-depth [n] (and/or -N, --non-recursive)

From: Ian Brandt <ian_at_ianbrandt.com>
Date: 2006-10-10 00:33:18 CEST

Hi,

When dealing with a large number of changes it's a bit overwhelming to
see them recursively dumped. Sometimes I'd rather review them one
directory at a time. I'm looking for a buddy with which to file an
RFE for a "--max-depth [n]" and/or a "-N, --non-recursive" switch on
svn status.

I would imagine that --non-recursive might be a bit simpler to
implement in isolation, and it fits my immediate need, but if
--max-depth isn't much harder it may fit some unforeseen need, and
--non-recursive could be implemented on top of it simply as a facade
to "--max-depth 1".

The closest workaround I could think up is:

find . -type f -max-depth 1 | xargs svn status

But that doesn't quite cut it because it only gets the status of files
in the current directory, not that of sub-folders, and it is not very
portable.

Any thoughts? Any takers?

Thanks,

Ian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 10 00:33:48 2006

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

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