When I was trying to move a file which is under SVN source code, I cut it in current directory (A) and then pasted it to an开发者_Go百科other directory (B). Now history of this file is lost. Is there anything I can do to recover file history?
Thanks!
Just revert the commit and do a proper svn move
If you are using Tortoise SVN, when committing the file, you can select "Repair Move". In the commit dialog, select the "missing" file and the "unversioned" file, right click, and select "Repair Move".
精彩评论