Reverting to a previous revision using TortoiseSVN

前端 未结 6 1581
孤独总比滥情好
孤独总比滥情好 2020-12-07 18:38

What is the easiest way to revert my working copy to a previous revision using Windows TortoiseSVN?

I did not find any \"findable\" command to do that quickly.

6条回答
  •  我在风中等你
    2020-12-07 19:12

    I have used the same instructions Stefan used, taken from Tortoise website.

    But it's important to click COMMIT right after. I was getting crazy until I realized that.

    If you need to make an older revision your head revision do the following:

    1. Select the file or folder in which you need to revert the changes. If you want to revert all changes, this should be the top level folder.

    2. Select TortoiseSVN → Show Log to display a list of revisions. You may need to use Show All or Next 100 to show the revision(s) you are interested in.

    3. Right click on the selected revision, then select Context Menu → Revert to this revision. This will discard all changes after the selected revision.

    4. Make a commit.

提交回复
热议问题