[PATCH] help: explain how to access subtopics in internals
Matt DeVore
matvore at google.com
Tue Apr 25 22:52:47 UTC 2017
# HG changeset patch
# User Matt DeVore <matvore at google.com>
# Date 1492646662 25200
# Wed Apr 19 17:04:22 2017 -0700
# Node ID 5b47b4bcd79cae50890fb2973084111614a8bd0f
# Parent ed42e00a5c4ec7a3bebaec699ef934429cdc2ddd
help: explain how to access subtopics in internals
diff -r ed42e00a5c4e -r 5b47b4bcd79c mercurial/help.py
--- a/mercurial/help.py Thu Apr 13 22:31:17 2017 +0900
+++ b/mercurial/help.py Wed Apr 19 17:04:22 2017 -0700
@@ -203,7 +203,8 @@
def internalshelp(ui):
"""Generate the index for the "internals" topic."""
- lines = []
+ lines = ['To access a subtopic, use "hg help internals.{subtopic-name}"\n',
+ '\n']
for names, header, doc in internalstable:
lines.append(' :%s: %s\n' % (names[0], header))
More information about the Mercurial-devel
mailing list