mercurial/help/templates.txt
changeset 25786 35fa7c77c754
parent 25596 c1975809a6b5
child 26128 51f6940d3b4f
--- a/mercurial/help/templates.txt	Sat Jun 20 18:24:11 2015 +0900
+++ b/mercurial/help/templates.txt	Sun Jul 12 17:59:25 2015 +0900
@@ -96,7 +96,7 @@
 
 - Mark the active bookmark with '*'::
 
-   $ hg log --template "{bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"
+   $ hg log --template "{bookmarks % '{bookmark}{ifeq(bookmark, active, '*')} '}\n"
 
 - Mark the working copy parent with '@'::
 
@@ -104,7 +104,7 @@
 
 - Show only commit descriptions that start with "template"::
 
-   $ hg log --template "{startswith(\"template\", firstline(desc))}\n"
+   $ hg log --template "{startswith('template', firstline(desc))}\n"
 
 - Print the first word of each line of a commit message::