merge with stable
authorMatt Mackall <mpm@selenic.com>
Tue, 31 Mar 2015 08:31:42 -0500
changeset 24533 888dcab69ca3
parent 24532 f5de208a635c (current diff)
parent 24493 e810c7da1cae (diff)
child 24534 1925769b4ff8
merge with stable
tests/test-log.t
--- a/mercurial/templates/map-cmdline.phases	Tue Mar 31 08:04:42 2015 -0500
+++ b/mercurial/templates/map-cmdline.phases	Tue Mar 31 08:31:42 2015 -0500
@@ -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",
--- a/tests/test-log.t	Tue Mar 31 08:04:42 2015 -0500
+++ b/tests/test-log.t	Tue Mar 31 08:31:42 2015 -0500
@@ -163,6 +163,9 @@
   summary:     e
   
 
+  $ hg log -f -l1 --style phases -q
+  4:7e4639b4691b
+
 -f, but no args
 
   $ hg log -f