Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/help.py @ 9785:b52f0f221325
help: add "hg help config" topic
This is a condensed version of the first two sections of hgrc.5.txt.
After a slight upgrade of minirst, we can move the whole of hgrc.5.txt
into the config help topic and just let the man page include it.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 07 Nov 2009 22:12:50 +0100 |
parents | e2b1de5fee04 |
children | 25e572394f5c |
comparison
equal
deleted
inserted
replaced
9784:54d292da1df7 | 9785:b52f0f221325 |
---|---|
78 path = os.path.join(docdir, topic + ".txt") | 78 path = os.path.join(docdir, topic + ".txt") |
79 return gettext(open(path).read()) | 79 return gettext(open(path).read()) |
80 return loader | 80 return loader |
81 | 81 |
82 helptable = ( | 82 helptable = ( |
83 (["config"], _("Configuration Files"), loaddoc('config')), | |
83 (["dates"], _("Date Formats"), loaddoc('dates')), | 84 (["dates"], _("Date Formats"), loaddoc('dates')), |
84 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), | 85 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), |
85 (['environment', 'env'], _('Environment Variables'), loaddoc('environment')), | 86 (['environment', 'env'], _('Environment Variables'), loaddoc('environment')), |
86 (['revs', 'revisions'], _('Specifying Single Revisions'), loaddoc('revisions')), | 87 (['revs', 'revisions'], _('Specifying Single Revisions'), loaddoc('revisions')), |
87 (['mrevs', 'multirevs'], _('Specifying Multiple Revisions'), loaddoc('multirevs')), | 88 (['mrevs', 'multirevs'], _('Specifying Multiple Revisions'), loaddoc('multirevs')), |