Wednesday, 25 February 2009

Subversion - how to undo a change

Assume that revision 25 contains the changes we are undoing.

In order to undo a commit that has been made to the repository we just tell SVN to apply the reverse of the changeset to our working copy in the current directory.

svn merge --change -25 .

easy.