Mercurial > hg
changeset 30696:667d9c93c412
templates-default: factor out definition of changeset labels
This is redundant for normal and debug mode and prepares extension of this
list that should effect both modes.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Tue, 03 Jan 2017 13:25:29 +0100 |
parents | f05ede08dcf7 |
children | 13d94304c8da |
files | mercurial/templates/map-cmdline.default |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/map-cmdline.default Mon Oct 10 12:06:58 2016 +0200 +++ b/mercurial/templates/map-cmdline.default Tue Jan 03 13:25:29 2017 +0100 @@ -28,13 +28,14 @@ % ' {name} ({source})'}\n"))}' # General templates -cset = '{label("log.changeset changeset.{phase}", +_cset_labels = 'log.changeset changeset.{phase}' +cset = '{label("{_cset_labels}", "changeset: {rev}:{node|short}")}\n' lphase = '{label("log.phase", "phase: {phase}")}\n' -fullcset = '{label("log.changeset changeset.{phase}", +fullcset = '{label("{_cset_labels}", "changeset: {rev}:{node}")}\n' parent = '{label("log.parent changeset.{phase}",