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.