Author: techfox9
Undo a commit in subversion (revert a change, restore deleted folder) ..
Wednesday, December 1st, 2010 @ 12:41 pm
svn delete blah
svn commit -m done
change 2212
(oops!)
2 ways:
1. with a working copy:
cd blah
svn merge -c -2212 http://mysub.server.com/svn/blah
See for more details:
2. without a working copy:
svn copy -r2212 -m ‘restore’ http://mysub.server.com/svn/blah@2212
http://mysub.server.com/svn/
Note that the target folder should be “above” the folder you are trying to restore.