[issue3413] hg help log should reference templates help

A. Budden bugs at mercurial.selenic.com
Tue May 1 02:39:57 CDT 2012


New submission from A. Budden <abudden+MERCURIAL at gmail.com>:

Whenever I want to use a template for the output of log (not very often, but
happens occasionally: mainly when I want to see revision phases), I have to
try to remember the keywords that are used in the template option.

In "hg help log" (or hg log --help), it includes this:

    [snip]

    See "hg help dates" for a list of formats valid for -d/--date.

    See "hg help revisions" and "hg help revsets" for more about specifying
    revisions.

    [snip]

    --style STYLE         display using template map file
    --template TEMPLATE   display with template

Given that neither "hg help template" nor "hg help style" work (using the
actual command arguments), it would be useful to include something like:

    See "hg help templates" for more about pre-packaged styles and
    specifying custom templates.

It might also be useful to make "hg help template" point at the same help as
"hg help templates".

----------
messages: 19830
nosy: abudden
priority: wish
status: unread
title: hg help log should reference templates help

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3413>
____________________________________________________


More information about the Mercurial-devel mailing list