[PATCH 4 of 6 V5] templates: display evolution "troubles" in command line style

Yuya Nishihara yuya at tcha.org
Sat Jan 7 03:52:01 EST 2017


On Fri, 06 Jan 2017 16:32:27 +0100, Denis Laxalde wrote:
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1483707052 -3600
> #      Fri Jan 06 13:50:52 2017 +0100
> # Node ID 87399b8a6ae5a1c38c4969d705a358ba17d7dffd
> # Parent  bf1e87a41962c793ae1c0ce361cd79aac3f98f1c
> # EXP-Topic evolve-ui
> templates: display evolution "troubles" in command line style

> +ltroubles = '{if(troubles, "{label('ui.note log.trouble',
> +                                   'trouble:     {join(troubles, ", ")}')}\n")}'

"ui.note" isn't necessary here (and in changeset_printer.) Some fields have
one just because they were previously written by ui.note() function (and now
that is covered by "if ui.verbose".)

Can you send a follow-up?


More information about the Mercurial-devel mailing list