comparison mercurial/commands.py @ 16568:770190bff625 stable

help: add reference to template help (issue3413) There is currently no clear link between the help for log and the help on templates. The log option is --template but the template help is 'help templating' or 'help templates'. This patch makes 'hg help template' work and also adds a note into the log help explaining where to find more info.
author A. S. Budden <abudden@gmail.com>
date Tue, 01 May 2012 22:14:51 +0100
parents ebf6d38c9063
children 46e9ed223d2c
comparison
equal deleted inserted replaced
16563:979b1b7340fb 16568:770190bff625
3939 See :hg:`help dates` for a list of formats valid for -d/--date. 3939 See :hg:`help dates` for a list of formats valid for -d/--date.
3940 3940
3941 See :hg:`help revisions` and :hg:`help revsets` for more about 3941 See :hg:`help revisions` and :hg:`help revsets` for more about
3942 specifying revisions. 3942 specifying revisions.
3943 3943
3944 See :hg:`help templates` for more about pre-packaged styles and
3945 specifying custom templates.
3946
3944 Returns 0 on success. 3947 Returns 0 on success.
3945 """ 3948 """
3946 3949
3947 matchfn = scmutil.match(repo[None], pats, opts) 3950 matchfn = scmutil.match(repo[None], pats, opts)
3948 limit = cmdutil.loglimit(opts) 3951 limit = cmdutil.loglimit(opts)