tests/test-command-template.t
changeset 30008 e83f89d3b1f7
parent 29848 b1f69dbdd76b
child 30083 bd1f043d1ea3
--- a/tests/test-command-template.t	Sat Sep 17 17:02:56 2016 +1000
+++ b/tests/test-command-template.t	Fri Sep 23 08:15:05 2016 +0000
@@ -3501,6 +3501,26 @@
   5:13207e5a10d9fd28ec424934298e176197f2c67f,
   4:bbe44766e73d5f11ed2177f1838de10c53ef3e74
 
+Test files function
+
+  $ hg log -T "{rev}\n{join(files('*'), '\n')}\n"
+  2
+  a
+  aa
+  b
+  1
+  a
+  0
+  a
+
+  $ hg log -T "{rev}\n{join(files('aa'), '\n')}\n"
+  2
+  aa
+  1
+  
+  0
+  
+
 Test active bookmark templating
 
   $ hg book foo