examining history of deleted file

前端 未结 17 1864
臣服心动
臣服心动 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:08

    The poster has actually asked 3 questions here:

    1. How do I look at the history of a deleted file in Subversion?
    2. How do I look at the contents of a deleted file in Subversion?
    3. How do I resurrect a deleted file in Subversion?

    All the answers I see here are for questions 2 and 3.

    The answer to question 1 is:

    svn log http://server/svn/project/file@1234
    

    You still need to get the revision number for when the file last existed, which is clearly answered by others here.

提交回复
热议问题