Rollback a Subversion commit

Using the subversion from the command line makes it much easier to accidentally commitÂ changes across a whole project when you only really need to commit certain filesÂ that you were working on. If this were to happen you would assume there’d be an easy way to tell subversion “Sorry, I’ve commited that in error please rollback my changes” in a similar way to Microsoft SourceSafe. Unfortunately not.

So whilst looking for a way to do this I came across a solution, which involes a revision merge and commit; basically taking your changes back to a previous revision and then commiting that one.

This website uses cookies to help provide visitors to our site with the best user experience possible. Click the 'I Accept' button to acknowledge you understand our cookie policy and are happy for our site to place cookies on your computer. View our Cookie Policy