Monday, December 10, 2012

Revert bad SVN commit

Found this, which works. seems like a strange way to revert to a previous version, but I guess that's how SVN works.
svn merge -r [current_version]:[previous_version] [repository_url]
svn commit -m "Reverting back to revision [previous_version]."
Thought it looks a bit scary, I tried it and it worked.

No comments:

Post a Comment