[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 by default?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-04-29 23:57:05 CEST

solo turn <soloturn99@yahoo.com> writes:

> may i suggest to switch default behaviour of "svn revert" to be
> recursive, like all the other commands?

No, it's deliberately nonrecursive, deliberately different from the
default behavior of all other commands.

'svn revert' is inherently dangerous, since it tosses local mods.
Therefore if someone wants to revert *all* local mods (rather than
just a single target), we want the user to be very specific about the
decision -- by typing -R.

If 'svn revert' were recursive by default, it would be too easy to hit
the [enter] key early and accidentally wipe out everything.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 29 23:58:50 2003

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.