简体   繁体   中英

Restore deleted directory after SVN Update

I had some uncommited changes on my working copy and left them laying around for a long time. The other guys from my team removed the entire directory where the scripts I was working were. After the update, since they have removed these files on the repo, they have been removed from my working copy too. Reverting the working copy will cause it to revert to the previous update before the latest one, which will unfortunately lose my changes. Any chance to recover my local uncommited changes that have been replaced by the update?

This question is to some extent a duplicate of How to undo an svn update? .

As the answer to that question discusses, the answer is that your dirty working copy is gone, gone, gone after you update. SVN cannot help you here.

Of course, if you have another backup system (eg recycle bin), you can try your luck with that (as discussed in comments).

Next time, consider running svn status --show-updates first to see what will happen when you update.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM