Patchwork [STABLE] log: mention ui.logtemplate in the help text

login
register
mail settings
Submitter Nathan Goldbaum
Date Aug. 16, 2017, 3:26 p.m.
Message ID <a1db17e964beee1a8397.1502897168@rous.ncsa.illinois.edu>
Download mbox | patch
Permalink /patch/23085/
State Accepted
Headers show

Comments

Nathan Goldbaum - Aug. 16, 2017, 3:26 p.m.
# HG changeset patch
# User Nathan Goldbaum <ngoldbau@illinois.edu>
# Date 1502897089 18000
#      Wed Aug 16 10:24:49 2017 -0500
# Branch stable
# Node ID a1db17e964beee1a839769507818a50a5de3c9a3
# Parent  7686cbb0ba4138c56d038d8d82ccc052bf9b60d7
log: mention ui.logtemplate in the help text
Jun Wu - Aug. 16, 2017, 4:20 p.m.
LGTM.

Excerpts from Nathan Goldbaum's message of 2017-08-16 10:26:08 -0500:
> # HG changeset patch
> # User Nathan Goldbaum <ngoldbau@illinois.edu>
> # Date 1502897089 18000
> #      Wed Aug 16 10:24:49 2017 -0500
> # Branch stable
> # Node ID a1db17e964beee1a839769507818a50a5de3c9a3
> # Parent  7686cbb0ba4138c56d038d8d82ccc052bf9b60d7
> log: mention ui.logtemplate in the help text
> 
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -3335,7 +3335,9 @@ def log(ui, repo, *pats, **opts):
>      revisions.
>  
>      See :hg:`help templates` for more about pre-packaged styles and
> -    specifying custom templates.
> +    specifying custom templates. The default template used by the log
> +    command can be customized via the ``ui.logtemplate`` configuration
> +    setting.
>  
>      Returns 0 on success.
>
Augie Fackler - Aug. 16, 2017, 6:26 p.m.
On Wed, Aug 16, 2017 at 10:26:08AM -0500, Nathan Goldbaum wrote:
> # HG changeset patch
> # User Nathan Goldbaum <ngoldbau@illinois.edu>
> # Date 1502897089 18000
> #      Wed Aug 16 10:24:49 2017 -0500
> # Branch stable
> # Node ID a1db17e964beee1a839769507818a50a5de3c9a3
> # Parent  7686cbb0ba4138c56d038d8d82ccc052bf9b60d7
> log: mention ui.logtemplate in the help text

queued for stable, thanks

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3335,7 +3335,9 @@  def log(ui, repo, *pats, **opts):
     revisions.
 
     See :hg:`help templates` for more about pre-packaged styles and
-    specifying custom templates.
+    specifying custom templates. The default template used by the log
+    command can be customized via the ``ui.logtemplate`` configuration
+    setting.
 
     Returns 0 on success.