[PATCH] internals: document that "branches" is a legacy command
Siddharth Agarwal
sid at less-broken.com
Wed May 3 17:13:17 EDT 2017
On 5/3/17 22:07, Siddharth Agarwal wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1493845634 25200
> # Wed May 03 14:07:14 2017 -0700
> # Node ID 7e90b9553a02ef30fd289736cfb559c83b6766e2
> # Parent 8ac7ac714e922fd34abe9f5a16fcf018c8b12abc
> internals: document that "branches" is a legacy command
As martinvonz helpfully pointed out on IRC, this should read "legacy
wire command". Whoops!
>
> Modern clients use a different discovery mechanism.
>
> diff --git a/mercurial/help/internals/wireprotocol.txt b/mercurial/help/internals/wireprotocol.txt
> --- a/mercurial/help/internals/wireprotocol.txt
> +++ b/mercurial/help/internals/wireprotocol.txt
> @@ -632,6 +632,9 @@ There is no trailing newline.
> branches
> --------
>
> +(Legacy command used for discovery in old clients. Clients with ``getbundle``
> +use the ``known`` and ``heads`` commands instead.)
> +
> Obtain ancestor changesets of specific nodes back to a branch point.
>
> Despite the name, this command has nothing to do with Mercurial named branches.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list