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

Re: feature request: UNDO

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-11-05 23:50:52 CET

Erik Volz wrote:
> Subversion would be a lot easier to use if there was a simple UNDO
> command that reversed whatever your last action was. Example: I
> recently accidentally imported a bunch of files into the trunk of my
> repository. Deleting them all required a little script. Browsing
> through the archives, I see several people had the same problem.

Why not do a reverse merge of the revision in which you added those files?

The syntax is actually quite straightforward now:
$ svn merge -c -303 http://svn.example.com/repos/calc/trunk

See the book for more info:
http://svnbook.red-bean.com/en/1.4/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo

hth,

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 5 23:51:14 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.