tests/test-command-template.t
branchstable
changeset 20076 faa4b3fc4197
parent 20067 3d8bfe2ecf6d
child 20079 d4838302305c
--- a/tests/test-command-template.t	Sun Nov 17 15:11:09 2013 -0800
+++ b/tests/test-command-template.t	Thu Nov 21 11:30:52 2013 -0600
@@ -1606,3 +1606,8 @@
   {rev}
   $ hg log -r 0 --template '{if(rev, "{author} {rev}")}\n'
   test 0
+
+Test branches inside if statement:
+
+  $ hg log -r 0 --template '{if(branches, "yes", "no")}\n'
+  no