--- 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