Wednesday, July 15, 2009

Reverting the Head Revision to a Previous Revision with Tortoise SVN

CodeRenaissance

To roll back a file, start by right clicking on it and selecting Show Log.
Once you have the log open, right click on the desired version of your file.
Upon selecting this Tortoise SVN will notify you that it is doing a reverse merge into your working copy; click yes.
Commit the file (or make changes and commit) and you're done.

On committing the revision,the previous revision will become the head, effectively rolling-back, and chopping off the 'branch' at the desired point. (Although of course the 'branch' is there).

No comments:

Post a Comment

comment: