changeset 34717:06b52671552b

templates: fix missed space between instability labels
author Yuya Nishihara <yuya@tcha.org>
date Sat, 14 Oct 2017 18:41:20 +0900
parents d36a36ca7bc2
children 01206460897a
files mercurial/templates/map-cmdline.default tests/test-obsolete.t
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/map-cmdline.default	Sat Oct 14 18:24:01 2017 +0900
+++ b/mercurial/templates/map-cmdline.default	Sat Oct 14 18:41:20 2017 +0900
@@ -82,5 +82,6 @@
                                  "changeset.{phase}",
                                  if(obsolete, "changeset.obsolete"),
                                  if(instabilities, "changeset.unstable"),
-                                 instabilities % "instability.{instability}"),
+                                 join(instabilities
+                                      % "instability.{instability}", " ")),
                         expr)
--- a/tests/test-obsolete.t	Sat Oct 14 18:24:01 2017 +0900
+++ b/tests/test-obsolete.t	Sat Oct 14 18:41:20 2017 +0900
@@ -963,7 +963,7 @@
   
 
   $ hg log -T default -r 'phasedivergent()' --color=debug
-  [log.changeset changeset.draft changeset.unstable instability.orphaninstability.phase-divergent|changeset:   7:50c51b361e60]
+  [log.changeset changeset.draft changeset.unstable instability.orphan instability.phase-divergent|changeset:   7:50c51b361e60]
   [log.user|user:        test]
   [log.date|date:        Thu Jan 01 00:00:00 1970 +0000]
   [log.instability|instability: orphan, phase-divergent]