Mercurial > hg
diff mercurial/templates/map-cmdline.default @ 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 | 9b1a8ce1f03b |
children | 6d0b1a69f98c |
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}",