Mercurial > public > mercurial-scm > hg-stable
diff mercurial/help.py @ 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 | 2f09b13e914d |
children | c407b4ca666e |
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')), -) +]