examining history of deleted file

前端 未结 17 1860
臣服心动
臣服心动 2020-11-30 17:36

If I delete a file in Subversion, how can I look at it\'s history and contents? If I try to do svn cat or svn log on a nonexistent file, it complai

17条回答
  •  星月不相逢
    2020-11-30 18:12

    If you don't know the path to the deleted file, turns out you can search for it in the otherwise all-too-heavy svn log command:

    svn log --search  -v
    

    The command is probably hammering the server just as much as it would without the search option, but at least the rest of involved resources (including your eyeballs) would be kinda relieved, since that will tell you in which revision that file was deleted. Then, you can follow the other tips (mainly using the same svn log command, but already on a defined path).

提交回复
热议问题