可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
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?
Thanks
回答1:
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.
回答2:
Use "update to revision" feature. See here for details
回答3:
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.
回答4:
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 :-)