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

Re: svn undo

From: Richard Cavell <richardcavell_at_mail.com>
Date: Tue, 27 Sep 2011 07:44:35 -0400

Well consider the svn cp subcommand, which does nothing more than delete/add. One day svn cp could do more than that.

 Likewise, svn undo could initially do nothing more than svn merge (and put a - sign in front of the revision number), but perhaps one day do more.

 Richard
----- Original Message -----
From: Stefan Sperling
Sent: 09/27/11 10:03 AM
To: Richard Cavell
Subject: Re: svn undo

 On Tue, Sep 27, 2011 at 03:55:54AM -0400, Richard Cavell wrote: > Hi everyone, > > Is there any chance that svn could include an undo subcommand? Instead of compelling us to do 'reverse merges'. What would you expect this new command to do? Would it just run a reverse merge, or would it do more? Would the syntax for this new command differ significantly from the existing merge command? svn merge -c-42 . Would you like to type this instead? svn undo -c42 . If the 'undo' command is just a thin wrapper around 'merge' you might as well provide an 'svnundo' script for users that are uncomfortable with using 'svn merge'. Note that some IDE integrations already provide an 'undo this revision' feature which runs a reverse merge. I believe TortoiseSVN has one, too.
Received on 2011-09-27 13:45:19 CEST

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.