Wednesday, July 20, 2011

SVN revert to revision

To revert to a previous version in svn, you need to use the merge command.


  1. Run svn revert to get your files to the same state as the server.
  2. Run svn log to see what revision you want to revert the file to.
  3. Run svn status -v to see what revision the file is at.
  4. Run svn merge -rXX:YY where XX is the current revision number and YY is the revision you want to revert to.

No comments:

Post a Comment