More aggressive tracking of renaming/copying?

Malcolm Matalka mmatalka at gmail.com
Sat Nov 23 14:55:22 UTC 2019


I have a git repo that I use through hg-git, and this repo has a lot of
copies and renames as well as changes.  using git diff -C -C -C ... it's
quite nice for seeing how the files moved around the repo between
revisions, but also seeing the diff after the move/copy.

hg seems much less capable of tracking this and showing it to me.  I am
using the --git option on diff but except for the most trivial examples,
it seems to see it as a delete and an add, which makes seeing the "true"
diff very challenging.  I have been resorting to git to review these
changes.

Are there some options I'm missing?  It seems like TortoiseHg might have
such a way to change the similarity that diff sees as a copy but I'm not
sure how it translates to the CLI?

Thanks


More information about the Mercurial mailing list