I SVN updated, but I realize I messed up
How do I rollback to a previous revision? So that my f开发者_运维技巧iles are back to revision 400?
How about:
svn merge -r [current_version]:[previous_version] [repository_url]
svn commit -m “Reverting previous commit and going back to revision [previous_version].”
taken from http://mybravenewworld.wordpress.com/2007/11/13/subversion-how-to-revert-a-bad-commit/
svn update -r 400
Run the following command:
svn -r rev-no up file-name
精彩评论