Mercurial - determine where file was removed?

后端 未结 3 1723
不知归路
不知归路 2021-02-05 04:52

If you do hg log myfile -v you see a list of changesets that the file was modified in.

In our case, in the most recent changeset, the file was removed. But

3条回答
  •  长情又很酷
    2021-02-05 05:31

    This is what I use to list all the deleted files in my repository:

    hg log --template "{rev}: {file_dels}\n" | grep -v ':\s*$'
    

提交回复
热议问题