changeset 39461:7df9ae38c75c

help: add internals.wireprotocolv2 to the table, and remove redundant header
author Yuya Nishihara <yuya@tcha.org>
date Thu, 06 Sep 2018 21:55:30 +0900
parents 35ecaa999a12
children e5449ff273d6
files mercurial/help.py mercurial/help/internals/wireprotocolv2.txt tests/test-help.t
diffstat 3 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help.py	Fri Aug 17 19:18:53 2018 -0700
+++ b/mercurial/help.py	Thu Sep 06 21:55:30 2018 +0900
@@ -219,6 +219,8 @@
      loaddoc('revlogs', subdir='internals')),
     (['wireprotocol'], _('Wire Protocol'),
      loaddoc('wireprotocol', subdir='internals')),
+    (['wireprotocolv2'], _('Wire Protocol Version 2'),
+     loaddoc('wireprotocolv2', subdir='internals')),
 ])
 
 def internalshelp(ui):
--- a/mercurial/help/internals/wireprotocolv2.txt	Fri Aug 17 19:18:53 2018 -0700
+++ b/mercurial/help/internals/wireprotocolv2.txt	Thu Sep 06 21:55:30 2018 +0900
@@ -1,6 +1,3 @@
-Wire Protocol Version 2
-=======================
-
 **Experimental and under active development**
 
 This section documents the wire protocol commands exposed to transports
--- a/tests/test-help.t	Fri Aug 17 19:18:53 2018 -0700
+++ b/tests/test-help.t	Thu Sep 06 21:55:30 2018 +0900
@@ -1017,6 +1017,8 @@
        requirements  Repository Requirements
        revlogs       Revision Logs
        wireprotocol  Wire Protocol
+       wireprotocolv2
+                     Wire Protocol Version 2
 
 sub-topics can be accessed
 
@@ -3343,6 +3345,13 @@
   </td><td>
   Wire Protocol
   </td></tr>
+  <tr><td>
+  <a href="/help/internals.wireprotocolv2">
+  wireprotocolv2
+  </a>
+  </td><td>
+  Wire Protocol Version 2
+  </td></tr>