You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ian Brandt <ia...@ianbrandt.com> on 2006/10/09 22:33:18 UTC

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

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

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

Posted by Ian Brandt <ia...@ianbrandt.com>.
Mark Phippard wrote:

> svn help status says that -N (--non-recursive) is already an available 
> option.  AFAIK, it has been there since SVN 1.0.

Ha, so it does.  Been staring at the screen too long.

Thanks,

Ian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Mark Phippard <ma...@softlanding.com>.
Ian Brandt <ia...@ianbrandt.com> wrote on 10/09/2006 06:33:18 PM:

> 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:

svn help status says that -N (--non-recursive) is already an available 
option.  AFAIK, it has been there since SVN 1.0.  The 1.0 book lists it as 
an option:

http://svnbook.red-bean.com/en/1.0/re26.html

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org