tests/test-command-template.t
changeset 24566 6abce80e6cbf
parent 24319 6ff513495a8b
child 24637 c1cb6523e968
--- a/tests/test-command-template.t	Wed Apr 01 12:50:10 2015 -0700
+++ b/tests/test-command-template.t	Mon Mar 30 23:54:29 2015 +0900
@@ -1871,6 +1871,16 @@
   o  0: children: 1, tags: 0, file_adds: 1, ancestors: 1
   
 
+Upper/lower filters:
+
+  $ hg log -r0 --template '{branch|upper}\n'
+  DEFAULT
+  $ hg log -r0 --template '{author|lower}\n'
+  user name <user@hostname>
+  $ hg log -r0 --template '{date|upper}\n'
+  abort: template filter 'upper' is not compatible with keyword 'date'
+  [255]
+
 Error on syntax:
 
   $ echo 'x = "f' >> t