hg mv old new equivalent to mv old new hg addremove
Uwe Brauer
oub at mat.ucm.es
Mon Jul 27 19:14:29 UTC 2020
>>> "RW" == Rainer Woitok <rainer.woitok at gmail.com> writes:
> Uwe,
> On Monday, 2020-07-27 17:01:57 +0200, you wrote:
>> ...
>> Sorry to nag, but the following scripts seem to produce an identical
>> result:
> You are right. If I remember correctly, earlier versions of Mercurial
> did not provide this "recording removal of test.org as rename to test-
> new.org (100% similar)" feature. Now problems might only arise if you
> do both, renaming and modifying in the same changeset. Then I would he-
> sitate to rely on this similarity test and would prefer "hg mv" over
> just "mv" (and if I forgot to use "hg mv" instead of "mv" but remember-
> ed before committing, there's "hg mv --after" to correct the situation).
Hm, I use emacs, or to be more precise the dired mode of emacs for
renaming, copying, deleting and moving, so
hg addremove comes in very handy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200727/e749dd8d/attachment.p7s>
More information about the Mercurial
mailing list