##// END OF EJS Templates
help: rewrite template examples to use integer literals where appropriate
Yuya Nishihara -
r25004:e264d4c9 default
parent child Browse files
Show More
@@ -67,7 +67,7 b' Some sample command line templates:'
67
67
68 - Output the description set to a fill-width of 30::
68 - Output the description set to a fill-width of 30::
69
69
70 $ hg log -r 0 --template "{fill(desc, '30')}"
70 $ hg log -r 0 --template "{fill(desc, 30)}"
71
71
72 - Use a conditional to test for the default branch::
72 - Use a conditional to test for the default branch::
73
73
@@ -104,4 +104,4 b' Some sample command line templates:'
104
104
105 - Print the first word of each line of a commit message::
105 - Print the first word of each line of a commit message::
106
106
107 $ hg log --template "{word(\"0\", desc)}\n"
107 $ hg log --template "{word(0, desc)}\n"
General Comments 0
You need to be logged in to leave comments. Login now