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.
--- 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}",