[PATCH 3 of 5] help: add aliases for 'glossary' help topic

Mads Kiilerich mads at kiilerich.com
Tue Jul 31 17:22:31 CDT 2012


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1343773103 -7200
# Branch stable
# Node ID 7ef0ac99b879924036731f3c62d58ede1720cba9
# Parent  b3cf59ece0402f89f4773a506079be73dc8f08ed
help: add aliases for 'glossary' help topic

I can never remember the name of 'glossary' help topic and always go through
'dictionary', 'vocabulary', 'nomenclature' and 'concepts' before I thoroughly
read 'hg help' to find 'glossary'.

diff --git a/mercurial/help.py b/mercurial/help.py
--- a/mercurial/help.py
+++ b/mercurial/help.py
@@ -157,7 +157,8 @@
     (["extensions"], _("Using Additional Features"), extshelp),
     (["subrepos", "subrepo"], _("Subrepositories"), loaddoc('subrepos')),
     (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
-    (["glossary"], _("Glossary"), loaddoc('glossary')),
+    (["glossary", "dictionary", "vocabulary", "nomenclature", "concepts"],
+     _("Glossary"), loaddoc('glossary')),
     (["hgignore", "ignore"], _("Syntax for Mercurial Ignore Files"),
      loaddoc('hgignore')),
     (["phases"], _("Working with Phases"), loaddoc('phases')),


More information about the Mercurial-devel mailing list