tests/test-command-template.t
changeset 20520 5c65ee4193e1
parent 20519 cda9d2b6beab
child 20665 945bc5497e6d
--- a/tests/test-command-template.t	Tue Feb 11 21:04:12 2014 -0800
+++ b/tests/test-command-template.t	Tue Feb 11 21:40:33 2014 -0800
@@ -1676,3 +1676,10 @@
   Rev: 0
   Ancestor: 0
   
+Test current bookmark templating
+
+  $ hg book foo
+  $ hg book bar
+  $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, current, \"*\")} '}\n"
+  1 bar* foo 
+  0