Mercurial > public > mercurial-scm > hg
comparison mercurial/help.py @ 27400:64208bd4c580
help: add missed last new line to "internals" topic
Caught by test-gendoc.t.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 17 Dec 2015 22:29:41 +0900 |
parents | dfab0afde928 |
children | 3ce1d50daa99 |
comparison
equal
deleted
inserted
replaced
27399:425dc70037f7 | 27400:64208bd4c580 |
---|---|
172 | 172 |
173 def internalshelp(ui): | 173 def internalshelp(ui): |
174 """Generate the index for the "internals" topic.""" | 174 """Generate the index for the "internals" topic.""" |
175 lines = [] | 175 lines = [] |
176 for names, header, doc in internalstable: | 176 for names, header, doc in internalstable: |
177 lines.append(' :%s: %s' % (names[0], header)) | 177 lines.append(' :%s: %s\n' % (names[0], header)) |
178 | 178 |
179 return '\n'.join(lines) | 179 return ''.join(lines) |
180 | 180 |
181 helptable = sorted([ | 181 helptable = sorted([ |
182 (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), | 182 (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), |
183 (["dates"], _("Date Formats"), loaddoc('dates')), | 183 (["dates"], _("Date Formats"), loaddoc('dates')), |
184 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), | 184 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), |