How to easily back-out any Subversion revision

My colleague David Kemp taught me a very useful technique yesterday: how to easily back-out (ie erase) the effect of one or more Subversion commits, even when those commits happened in the past and are not at the “tip” of the repository. Barring merge problems, its as if those commits never happened.

merge -r243:242 file:///c:/projects/arcadia/Development/Repository/Arcadia

Note how in this command, we merge from a higher number revision backward to a lower number, on the same branch. This creates working copy modifications with the changes contained in Revision 243 undone.

Here’s a screenshot from within Eclipse:

3 Comments

  1. Willa said,

    May 1, 2013 at 4:15 am

    Why users still use to read news papers when in this technological
    world the whole thing is accessible on net?

  2. July 27, 2013 at 3:09 pm

    Thanks for sharing your thoughts about no deposit rival
    casinos. Regards

  3. October 5, 2013 at 12:08 pm

    楽天 アルマーニ 時計


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: