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

Re: Svn revert --recursive behavior

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-02-12 04:38:16 CET

Blair Zajac <blair@orcaware.com> writes:
> It seems odd that you have to specify a path to
> svn revert --recursive
> to get all files reverted, such as
> svn revert --recursive .
> Its not the normal usage I would think of. Is there any reason not
> to change this?

I think the reasoning was that if "svn revert" uses the same
implied-dot convention as most other commands, then running

   $ svn revert

would try to revert the current directory (non-recursively, of course,
since revert is also not recursive by default). Exactly what "revert
the current directory" means I'm not sure, I must confess, but surely
it means something. :-)

Mike, Ben, care to illuminate?

I think it would be intuitive to do the implied-dot thing if and only
if --recursive were passed, actually.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

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.