tests/test-command-template.t
changeset 29848 b1f69dbdd76b
parent 29817 cc11079644fc
child 30008 e83f89d3b1f7
--- a/tests/test-command-template.t	Tue Aug 23 16:40:08 2016 -0400
+++ b/tests/test-command-template.t	Wed Aug 24 17:43:45 2016 -0700
@@ -103,6 +103,18 @@
   $ hg log -l1 -T./map-simple
   8
 
+Test template map inheritance
+
+  $ echo "__base__ = map-cmdline.default" > map-simple
+  $ printf 'cset = "changeset: ***{rev}***\\n"\n' >> map-simple
+  $ hg log -l1 -T./map-simple
+  changeset: ***8***
+  tag:         tip
+  user:        test
+  date:        Wed Jan 01 10:01:00 2020 +0000
+  summary:     third
+  
+
 Template should precede style option
 
   $ hg log -l1 --style default -T '{rev}\n'