diff --git a/mercurial/help.py b/mercurial/help.py --- a/mercurial/help.py +++ b/mercurial/help.py @@ -219,6 +219,8 @@ internalstable = sorted([ loaddoc('revlogs', subdir='internals')), (['wireprotocol'], _('Wire Protocol'), loaddoc('wireprotocol', subdir='internals')), + (['wireprotocolv2'], _('Wire Protocol Version 2'), + loaddoc('wireprotocolv2', subdir='internals')), ]) def internalshelp(ui): diff --git a/mercurial/help/internals/wireprotocolv2.txt b/mercurial/help/internals/wireprotocolv2.txt --- a/mercurial/help/internals/wireprotocolv2.txt +++ b/mercurial/help/internals/wireprotocolv2.txt @@ -1,6 +1,3 @@ -Wire Protocol Version 2 -======================= - **Experimental and under active development** This section documents the wire protocol commands exposed to transports diff --git a/tests/test-help.t b/tests/test-help.t --- a/tests/test-help.t +++ b/tests/test-help.t @@ -1017,6 +1017,8 @@ internals topic renders index of availab requirements Repository Requirements revlogs Revision Logs wireprotocol Wire Protocol + wireprotocolv2 + Wire Protocol Version 2 sub-topics can be accessed @@ -3343,6 +3345,13 @@ Sub-topic indexes rendered properly