[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: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 27 Sep 2011 12:03:17 +0200

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 12:04:09 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.