Hg: How to move files (to subfolder) without losing history?

前端 未结 4 525
逝去的感伤
逝去的感伤 2021-02-02 05:43

How to move files (to subfolder) without losing their history?

In my Mercurial repository (I mean the folder with the .hg in it) I have MyProject/ folder with all projec

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-02 06:33

    Use hg mv to move your files and then use hg log -f (follow) to see history including renames.

提交回复
热议问题