Subversion Reversion

Or “Please Please Just Make the Crazy Things Go Away”

Reversion becomes essential when you start working with bargain software consultants abroad. Though a bit unintuitive, Subversion makes it pretty easy to do.

svn merge -r head:56 SomeClass.java

This will revert from the working revision HEAD to revision 56. Now simply:

svn commit -m "What the #%&* were you thinking?!"

to push the previous version back to HEAD.

Reversion in Subversion is actually a kind of merge. More details in the Subversion Book.