find renamed files (with addremove)
Uwe Brauer
oub at mat.ucm.es
Mon Jul 16 09:36:55 UTC 2018
Hi
In a repo I did a lot of renaming in various commits, because I
thought that the new naming simplifies thing, however the files contain
links which are now broken, sigh.
So I am looking for a hg command which tells me which files I renamed
to what in the past.
I found two solutions in the net:
1. First one based on
http://hgtip.com/tips/advanced/2009-09-30-detecting-renames-automatically/
hg addremove --similarity 100
This does not work for me in any rep.
2. hg log -r "adds(Seeker.txt)" --template "{file_copies}"
that works for me in some (test) repos, but in my problematic
one I obtain hg: parse error: adds requires a pattern
So I am puzzled.
Any help would be greatly appreciated.
Uwe Brauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20180716/5354dcfa/attachment.html>
More information about the Mercurial
mailing list