[PATCH] help: make "mergetool" an alias for "merge-tools"
Augie Fackler
raf at durin42.com
Sat Jan 14 05:31:55 UTC 2017
> On Jan 14, 2017, at 12:25 AM, Gregory Szorc <gregory.szorc at gmail.com> wrote:
>
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1484371262 28800
> # Fri Jan 13 21:21:02 2017 -0800
> # Node ID bf7280a23d4a4d5fc7ab553c75b46ff0e569c8ee
> # Parent 8614546154cbffe8df6a56d53e404491fa092636
> help: make "mergetool" an alias for "merge-tools”
Queued thanks
>
> I've probably typed `hg help mergetool` dozens of times. I'm tired
> of it not working.
>
> diff --git a/mercurial/help.py b/mercurial/help.py
> --- a/mercurial/help.py
> +++ b/mercurial/help.py
> @@ -214,7 +214,8 @@ helptable = sorted([
> _('Specifying Revisions'), loaddoc('revisions')),
> (['filesets', 'fileset'], _("Specifying File Sets"), loaddoc('filesets')),
> (['diffs'], _('Diff Formats'), loaddoc('diffs')),
> - (['merge-tools', 'mergetools'], _('Merge Tools'), loaddoc('merge-tools')),
> + (['merge-tools', 'mergetools', 'mergetool'], _('Merge Tools'),
> + loaddoc('merge-tools')),
> (['templating', 'templates', 'template', 'style'], _('Template Usage'),
> loaddoc('templates')),
> (['urls'], _('URL Paths'), loaddoc('urls')),
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list