[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: solo turn <soloturn99_at_yahoo.com>
Date: 2003-04-30 00:34:06 CEST

--- Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>
> On Tuesday, April 29, 2003, at 05:49 PM, solo turn wrote:
>
> > may i suggest to switch default behaviour of "svn revert" to be
> > recursive, like all the other commands?
> >
> > i'm not sure if i'm the only one who gets trapped from time to
> time
> > there ... but i'm sure i get trapped.
>
> you can suggest all you want, but it isn't going to happen. svn
> revert
> is nonrecursive for a reason, it's a command that can result in
> data
> loss (since its results cannot always be reverted), so it requires
> the
> user to be quite specific about what they want it to do.
>
> -garrett
>

i think this behaviour is inconsistent. revert is revert. this is
very specific. if you fear data loss, you might add a 'are you really
absolutely sure that you want to throw away your change here?'
question for every item reverted. you might also have different
'modes' of operation, expert and novice (novice asks, and expert does
not). but novice mode is for post-1.0.

in unix you have cp -r, and rm -r ... and nobody has the idea of
using rm -QaX, cause you have to pay attention when using rm ...
making a command tricky or surprising to use, because it can cause
data loss, is not a real solution.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 30 00:34:52 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.