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

Re: 'svn revert' behavior

From: <cmpilato_at_collab.net>
Date: 2002-01-29 16:41:27 CET

Vladimir Prus <ghost@cs.msu.su> writes:

> I'm confused about 'svn revert':
>
> bash-2.05a$ svn st
> M ./Jamfile
>
> bash-2.05a$ svn revert
> (Nothing reverted)
>
> bash-2.05a$ svn revert .
> (Nothing reverted)
>
> It looks like in order to revert all the files in the current directory, I
> should either list them all, or give '--recursive' option. Is this behaviour
> intentional, and if so, what is the rationale?

You are absolutely correct in your assumptions. And yes, that's
intentional. The rationale (as defined be me, the guy who coded
'revert'), is simple: don't make it easy for the user to blow away
all of her local mods!

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