changeset 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 425dc70037f7
children 186f2afe9919
files mercurial/help.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help.py	Wed Dec 16 20:58:26 2015 -0600
+++ b/mercurial/help.py	Thu Dec 17 22:29:41 2015 +0900
@@ -174,9 +174,9 @@
     """Generate the index for the "internals" topic."""
     lines = []
     for names, header, doc in internalstable:
-        lines.append(' :%s: %s' % (names[0], header))
+        lines.append(' :%s: %s\n' % (names[0], header))
 
-    return '\n'.join(lines)
+    return ''.join(lines)
 
 helptable = sorted([
     (["config", "hgrc"], _("Configuration Files"), loaddoc('config')),