# HG changeset patch # User Matt DeVore # Date 1492646662 25200 # Node ID d7b698ae153b17bd00d6a5fc8792190714454576 # Parent 7000196a8178202540e2b283dd8ee79b4aaa4d48 help: explain how to access subtopics in internals diff -r 7000196a8178 -r d7b698ae153b mercurial/help.py --- a/mercurial/help.py Tue Apr 18 14:51:32 2017 -0700 +++ 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)) diff -r 7000196a8178 -r d7b698ae153b tests/test-help.t --- a/tests/test-help.t Tue Apr 18 14:51:32 2017 -0700 +++ b/tests/test-help.t Wed Apr 19 17:04:22 2017 -0700 @@ -943,6 +943,8 @@ Technical implementation topics """"""""""""""""""""""""""""""" + To access a subtopic, use "hg help internals.{subtopic-name}" + bundles Bundles censor Censor changegroups Changegroups