[anti revert?] (was: hg annotate does not follow renaming via hg mv)
Uwe Brauer
oub at mat.ucm.es
Mon Jul 27 19:20:36 UTC 2020
>>> "UB" == Uwe Brauer <oub at mat.ucm.es> writes:
It seems the best strategy for using hg annotate in the case of renaming is:
1. Use hg log -r "adds('**')" --template "{rev}:\n{file_copies % '{file_copy}\n'}\n"
2. Say its result is testnew.org (test.org)
3. Then I run say hg annotate newfile.org
4. I do hg revert test.org -r 3
5. And run hg annotate on test.org
6. Continue if there were more renamings
However then I might have a lot of files I obtained via hg revert
how can I simply delete them, hg purge is not the right one?
1. Hg up -C
2. Hg purge
Would work, but if I have some changes I better run hg shelve.
Nothing faster?
hg anti-revert
Regards
Uwe Brauer
-------------- 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/dd6fc379/attachment.p7s>
More information about the Mercurial
mailing list