开发者

Recover file history in SVN

开发者 https://www.devze.com 2023-03-06 01:27 出处:网络
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 a

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".

0

精彩评论

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