Patchwork help: add internals.wireprotocolv2 to the table, and remove redundant header

login
register
mail settings
Submitter Yuya Nishihara
Date Sept. 6, 2018, 1:33 p.m.
Message ID <7df9ae38c75ca7fd4d0d.1536240831@mimosa>
Download mbox | patch
Permalink /patch/34369/
State Accepted
Headers show

Comments

Yuya Nishihara - Sept. 6, 2018, 1:33 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1536238530 -32400
#      Thu Sep 06 21:55:30 2018 +0900
# Node ID 7df9ae38c75ca7fd4d0d20802fbc4ab489bb1f06
# Parent  35ecaa999a12b2b2a02f15f108a0552e0937bcfb
help: add internals.wireprotocolv2 to the table, and remove redundant header
Gregory Szorc - Sept. 6, 2018, 5:03 p.m.
On Thu, Sep 6, 2018 at 6:35 AM Yuya Nishihara <yuya@tcha.org> wrote:

> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1536238530 -32400
> #      Thu Sep 06 21:55:30 2018 +0900
> # Node ID 7df9ae38c75ca7fd4d0d20802fbc4ab489bb1f06
> # Parent  35ecaa999a12b2b2a02f15f108a0552e0937bcfb
> help: add internals.wireprotocolv2 to the table, and remove redundant
> header
>

Queued, thanks.


>
> 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
>    </td><td>
>    Wire Protocol
>    </td></tr>
> +  <tr><td>
> +  <a href="/help/internals.wireprotocolv2">
> +  wireprotocolv2
> +  </a>
> +  </td><td>
> +  Wire Protocol Version 2
> +  </td></tr>
>
>
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>

Patch

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
   </td><td>
   Wire Protocol
   </td></tr>
+  <tr><td>
+  <a href="/help/internals.wireprotocolv2">
+  wireprotocolv2
+  </a>
+  </td><td>
+  Wire Protocol Version 2
+  </td></tr>