开发者

How to revert a file to previous version using TortoiseSVN?

How does one revert a file to 开发者_如何学Pythonits previous version using TortoiseSVN GUI?


  1. Click right mouse button on the needed file
  2. Choose Tostoise SVN -> Show log
  3. In the top part select needed revision
  4. In the bottom part click on that file and select Revert changes from this revision

See TortoiseSVN Manual | Undoing changes.


Revert will just remove all the current changes that you have, and put your code back to what ever version you are currently at. If you want to be at a different version, you have to go to tortoiseSVN -> Update to Revision.. and pick the revision.


right click on file, go to tortoiseSVN submenu, click revert


The question is really a bit vague. But anyway, if you want to revert a file to any previous version:

  1. Click right mouse button on the needed file
  2. Choose Tostoise SVN -> Show log
  3. In the top part select needed revision
  4. In the bottom part click on that file and select Save revision to... and save it somewhere unrelated, on your desktop or whatever.
  5. (You can close all the Tortoise dialog boxes.)
  6. Copy the contents of the file you just saved over the one you want to revert.


I see no mentions of TortoiseSVN Manual where you can get the answer. :(

See TortoiseSVN Manual | Undoing changes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜