mercurial/help/templates.txt
changeset 21820 cce404b0c918
parent 20531 01a75c9d5b5e
child 21821 4a445dc5abff
--- a/mercurial/help/templates.txt	Thu May 01 19:57:25 2014 +0900
+++ b/mercurial/help/templates.txt	Thu Jun 12 17:45:41 2014 -0700
@@ -84,6 +84,10 @@
 
    $ hg log -r 0 --template "files: {join(files, ', ')}\n"
 
+- Modify each line of a commit description::
+
+   $ hg log --template "{splitlines(desc) % '**** {line}\n'}"
+
 - Format date::
 
    $ hg log -r 0 --template "{date(date, '%Y')}\n"