More aggressive tracking of renaming/copying?

Malcolm Matalka mmatalka at gmail.com
Sat Nov 23 18:17:39 UTC 2019



František Kučera <konference at frantovo.cz> writes:

> 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.

In my case I'm dealing with a git repository so I don't really have
control over how the rename/copy happened.

>
> 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
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial




More information about the Mercurial mailing list