# HG changeset patch # User Yuya Nishihara # Date 1430549517 -32400 # Node ID e264d4c9629b78f01603d345cdb86e1822a767ca # Parent 5e584edbb21154e21aec5078080f0bc83c69bf53 help: rewrite template examples to use integer literals where appropriate diff -r 5e584edbb211 -r e264d4c9629b mercurial/help/templates.txt --- a/mercurial/help/templates.txt Sat May 02 15:49:38 2015 +0900 +++ b/mercurial/help/templates.txt Sat May 02 15:51:57 2015 +0900 @@ -67,7 +67,7 @@ - Output the description set to a fill-width of 30:: - $ hg log -r 0 --template "{fill(desc, '30')}" + $ hg log -r 0 --template "{fill(desc, 30)}" - Use a conditional to test for the default branch:: @@ -104,4 +104,4 @@ - Print the first word of each line of a commit message:: - $ hg log --template "{word(\"0\", desc)}\n" + $ hg log --template "{word(0, desc)}\n"