In Mercurial, “hg rename” works but the history doesn't follow the file?

前端 未结 1 726
Happy的楠姐
Happy的楠姐 2020-12-16 09:35

I remember in SVN, I can rename a file from foo.txt to foo2.txt and all the history will follow (log file of foo2.txt will show all history of foo.txt as well). But on Merc

1条回答
  •  北海茫月
    2020-12-16 10:18

    Use hg log --follow foo2.txt or hg log -f foo2.txt (short form) to show you the entire history of the file before the hg rename

    0 讨论(0)
提交回复
热议问题