How to revert a bad commit in SVN
In SVN, if you have committed something wrong, how do you rollback it?
You cannot use the svn revert command since it has been commited, you need to do a merge instead
E.g. Rollback from current version to revision 98
# svn merge -r HEAD:98 http://example.com/svn/repos/demo/trunk # svn commit -m "Reverting previous bad commit and going back to revision 98"