On Tue, 12 Nov 2019 08:51:02 -0500, Uwe Brauer <o...@mat.ucm.es> wrote:


Hi

Another template issue.

hg log -r "removes('**')" --template "{rev}:\n{file_dels % '{file}\n'}\n"

Works nicely and gives me a list of deleted files, but

hg log -r "adds('**')" --template "{rev}:\n{file_copies % '{file}\n'}\n"

Does not.

What do I miss

What are your expectations? Did you mean to use {file_copies} when logging revisions with added files?

Additionally, the {} values I see in the tests in {file_copies % 'XXX'} are {file_copy}, {name}, and {source}, not {file}.
_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to