[PATCH] templates: add ChangeLog example with built-in style
Arne Babenhauserheide
arne_bab at web.de
Fri Jun 24 10:37:55 UTC 2016
# HG changeset patch
# User drak at kaverne
# Date 1466762655 -7200
# Fri Jun 24 12:04:15 2016 +0200
# Node ID ad1115eedd4201f57a223836dd357db1f3569ca7
# Parent 63fad6235369b54dd3accf1a512b278ba65e1c0a
templates: add ChangeLog example with built-in style
diff -r 63fad6235369 -r ad1115eedd42 mercurial/help/templates.txt
--- a/mercurial/help/templates.txt Tue Jun 21 17:15:51 2016 +0100
+++ b/mercurial/help/templates.txt Fri Jun 24 12:04:15 2016 +0200
@@ -145,3 +145,7 @@
- Print the first word of each line of a commit message::
$ hg log --template "{word(0, desc)}\n"
+
+- Print a GNU style ChangeLog using the built-in changelog style::
+
+ $ hg log --template changelog
More information about the Mercurial-devel
mailing list