help: make helptable a list instead of a tuple stable
authorMartin Geisler <mg@lazybytes.net>
Thu, 22 Jul 2010 21:43:45 +0200
branchstable
changeset 11657 5ed6802e6bcb
parent 11650 ebaf117c2642
child 11658 9dc1838d3b8b
child 11674 c29012a73518
child 11704 18c47562d331
child 11719 a34aad272014
help: make helptable a list instead of a tuple The table should always have been a list so that extensions can append their own help topics -- hgsubversion would like to do this now.
mercurial/help.py
--- a/mercurial/help.py	Thu Jul 22 08:17:38 2010 -0500
+++ b/mercurial/help.py	Thu Jul 22 21:43:45 2010 +0200
@@ -82,7 +82,7 @@
         return gettext(open(path).read())
     return loader
 
-helptable = (
+helptable = [
     (["config"], _("Configuration Files"), loaddoc('config')),
     (["dates"], _("Date Formats"), loaddoc('dates')),
     (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
@@ -100,4 +100,4 @@
     (["extensions"], _("Using additional features"), extshelp),
     (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
     (["glossary"], _("Glossary"), loaddoc('glossary')),
-)
+]