Mercurial > hg
changeset 24493:e810c7da1cae stable
templates: fix "log -q" output of phases style
It had the same problem as 6136704b975d, name conflicts of {node} keyword.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 28 Mar 2015 20:22:03 +0900 |
parents | a2285e2fc949 |
children | 888dcab69ca3 d09262d6ec23 |
files | mercurial/templates/map-cmdline.phases tests/test-log.t |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/map-cmdline.phases Sun Mar 22 19:08:13 2015 -0400 +++ b/mercurial/templates/map-cmdline.phases Sat Mar 28 20:22:03 2015 +0900 @@ -1,7 +1,7 @@ # Base templates. Due to name clashes with existing keywords, we have # to replace some keywords with 'lkeyword', for 'labelled keyword' changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n' -changeset_quiet = '{node}' +changeset_quiet = '{lnode}' changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n' changeset_debug = '{fullcset}{branches}{bookmarks}{tags}{lphase}{parents}{manifest}{user}{ldate}{lfile_mods}{lfile_adds}{lfile_dels}{lfile_copies_switch}{extras}{description}\n' @@ -40,7 +40,7 @@ parent = '{label("log.parent changeset.{phase}", "parent: {rev}:{node|formatnode}")}\n' -node = '{label("log.node", +lnode = '{label("log.node", "{rev}:{node|short}")}\n' manifest = '{label("ui.debug log.manifest",