[PATCH] help: add reference to template help (issue3413)

Martin Geisler mg at aragost.com
Wed May 2 06:22:27 CDT 2012


"A. S. Budden" <abudden at gmail.com> writes:

> # HG changeset patch
> # User A. S. Budden <abudden at gmail.com>
> # Date 1335906891 -3600
> # Node ID cf1ea528ea061db3ccc8102926506b9f13b5ce27
> # Parent  55982f62651f1974fcd91197f1c4801cc98a48f2
> help: add reference to template help (issue3413)

Thanks, that's nice! It's pushed to crew as 770190bff625.

> diff -r 55982f62651f -r cf1ea528ea06 mercurial/help.py
> --- a/mercurial/help.py	Wed Apr 18 01:20:16 2012 +0300
> +++ b/mercurial/help.py	Tue May 01 22:14:51 2012 +0100
> @@ -64,7 +64,7 @@
>      (['fileset', 'filesets'], _("Specifying File Sets"), loaddoc('filesets')),
>      (['diffs'], _('Diff Formats'), loaddoc('diffs')),
>      (['merge-tools'], _('Merge Tools'), loaddoc('merge-tools')),
> -    (['templating', 'templates'], _('Template Usage'),
> +    (['templating', 'templates', 'template', 'style'], _('Template Usage'),

We should really make it so that 'hg help' accepts unique prefixes for
the help topics just like it does for commands.

-- 
Martin Geisler

aragost Trifork
Commercial Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list