开发者

Tortoise Subversion - undo update

I have a folder on my machine, but I had deliberly kept out of sync with the main project (I should have branched, but didn't)

I have now gone and updated this folder to the latest version, forgetting that I shouldn't do that.

Is it possible to undo this update, and go back to the state I was in before the update? Or, (as I closed the update window), can I see what files were updated/added?

开发者_C百科Thanks


Use "Update to Revision" and enter the revision your working copy was at before the update.

If you don't know the exact revision, you can use the log dialog to narrow it down.

And there's a log file which should have a list of all the files that were updated: Settings dialog->Saved Data->Action log: click on the "Show" button.


Use "update to revision" feature. See here for details


Have you tried the log. Click on the "Show log" option which will show you all of the updates you have made. Right-Click on any one of the revisions you would like to revert to and choose either the "Revert to this Revision" option or any others that suit your needs.

There will be an area at the bottom showing which files were added.


I had to explicitly following this sequence:

svn update

(which pulled in lots of recent updates, including those i wasn't ready for in production, damn!)

svn log | less

checked which update I wish to revert to

svn -r REVISION

that did the necessary time travel, into a secure past :-)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜