find renamed files (with addremove)
Augie Fackler
lists at durin42.com
Tue Jul 24 22:28:08 UTC 2018
On Mon, Jul 16, 2018 at 5:36 AM, Uwe Brauer <oub at mat.ucm.es> wrote:
> 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
Can you give us a sample invocation that actually fails? It sounds
like you're trying adds() with no arg, which won't work...
>
> So I am puzzled.
>
> Any help would be greatly appreciated.
>
> Uwe Brauer
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list