[PATCH] help: make "mergetool" an alias for "merge-tools"
Gregory Szorc
gregory.szorc at gmail.com
Sat Jan 14 05:25:45 UTC 2017
# 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"
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')),
More information about the Mercurial-devel
mailing list