[PATCH] help: add internals.wireprotocolv2 to the table, and remove redundant header
Gregory Szorc
gregory.szorc at gmail.com
Thu Sep 6 13:03:13 EDT 2018
On Thu, Sep 6, 2018 at 6:35 AM Yuya Nishihara <yuya at tcha.org> wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at 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 at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180906/e44a2132/attachment.html>
More information about the Mercurial-devel
mailing list