Reputation: 10844
I by mistake commit a file to one of the branch. I want to undo the commit, is it possible to do so. Please suggest me a solution.
-- Thanks
Upvotes: 2
Views: 2262
Reputation: 500167
svn merge -c -REV, where REV is the revision number of the commit you want to undo.
svn merge -c -REV
REV
This should be performed on a clean local copy. The result will need to be checked in (of course, provided you're happy with it).
For a detailed explanation, see the svn book.
Upvotes: 9