I’ve always wanted to know how to do this, and for some reason I always had a hard time finding out how. I needed to rollback a change I had committed to my SVN repository.

The way you rollback to an earlier version of your repository is to do a reverse merge.

Here’s the example off the SVN site. It will do a reverse merge, and roll back the commit you made in version 303.

` $ svn merge -c -303 http://svn.example.com/repos/calc/trunk U integer.c

$ svn status M integer.c

$ svn diff …

verify that the change is removed

$ svn commit -m “Undoing change committed in r303.” Sending integer.c Transmitting file data . Committed revision 350.`

I found the info in the common use cases example of merging in the nightly SVN docs.