[PATCH] templates: add ChangeLog example with built-in style

Yuya Nishihara yuya at tcha.org
Fri Jun 24 09:30:37 EDT 2016


On Fri, 24 Jun 2016 12:37:55 +0200, Arne Babenhauserheide wrote:
> # 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

It seems redundant since it's described in the first part of the help.

https://selenic.com/repo/hg/help/template


More information about the Mercurial-devel mailing list