comparison mercurial/help/templates.txt @ 20170:574f3b6e0e8b

help: fix formatting of template example
author Steve Hoelzer <shoelzer@gmail.com>
date Wed, 11 Dec 2013 11:33:58 -0600
parents f4b3bdc3019e
children 01a75c9d5b5e
comparison
equal deleted inserted replaced
20166:7eda5bb9ec8f 20170:574f3b6e0e8b
103 103
104 $ hg log -r 0 --template "{sub(r'^.*\n?\n?', '', desc)}\n" 104 $ hg log -r 0 --template "{sub(r'^.*\n?\n?', '', desc)}\n"
105 105
106 - Display the contents of the 'extra' field, one per line:: 106 - Display the contents of the 'extra' field, one per line::
107 107
108 $ hg log -r 0 --template "{join(extras, '\n')}\n" 108 $ hg log -r 0 --template "{join(extras, '\n')}\n"