[PATCH 1 of 2] config: add a tip about using 'help extensions' to list available extensions

Matt Mackall mpm at selenic.com
Mon Jul 14 23:36:31 UTC 2014


On Sat, 2014-06-07 at 15:53 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf at durin42.com>
> # Date 1398790067 14400
> #      Tue Apr 29 12:47:47 2014 -0400
> # Node ID b78de345e00af1f2f2ca88b98eaafe2ae05824c2
> # Parent  7afe70a5d2ad5b22c21ba9be849451407c1f337f
> config: add a tip about using 'help extensions' to list available extensions
> 
> This should make it (in theory) a little more obvious to newcomers
> that they might find helpful tools in that output, without actually
> recommending rebase and histedit to all newcomers.
> 
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -1497,7 +1497,8 @@
>                  '\n'
>                  '[extensions]\n'
>                  '# uncomment these lines to enable some popular extensions\n'
> -                '# (see "hg help extensions" for more info)\n'
> +                '# (see "hg help extensions" for more info and \n'
> +                '# a list of included extensions)\n'

On reflection, I don't think this adds enough to warrant the increased
verbosity. The average user is apparently deeply adverse to reading:
throwing three lines at them rather than two increases the glaze-over
factor by a significant margin.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial-devel mailing list