changeset 11657:5ed6802e6bcb stable

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.
author Martin Geisler <mg@lazybytes.net>
date Thu, 22 Jul 2010 21:43:45 +0200
parents ebaf117c2642
children 9dc1838d3b8b c29012a73518 18c47562d331 a34aad272014
files mercurial/help.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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')),
-)
+]