More aggressive tracking of renaming/copying?

František Kučera konference at frantovo.cz
Sat Nov 23 16:35:50 UTC 2019


Could you try hg mv or hg cp and compare results? Hg can detect that it is a rename/move during hg addremove, but usually do it explicitly using these commands (there is also --after option). IDEs like Netbeans do this automatically if you refactor classes.

BTW: hg cp is a great thing, because if I want to split a file into two, I copy it and then delete some lines from each file – then I have full history in both of them, nothing lost.

Franta





More information about the Mercurial mailing list