# HG changeset patch # User Yuya Nishihara # Date 2018-09-06 12:55:30 # Node ID 7df9ae38c75ca7fd4d0d20802fbc4ab489bb1f06 # Parent 35ecaa999a12b2b2a02f15f108a0552e0937bcfb help: add internals.wireprotocolv2 to the table, and remove redundant header 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 Wire Protocol + + + wireprotocolv2 + + + Wire Protocol Version 2 +