internals: document that "branches" is a legacy wire command
authorSiddharth Agarwal <sid0@fb.com>
Wed, 03 May 2017 14:07:14 -0700
changeset 32133 435a3842ca3a
parent 32132 6dea1701f170
child 32134 4240be02df79
internals: document that "branches" is a legacy wire command Modern clients use a different discovery mechanism.
mercurial/help/internals/wireprotocol.txt
--- a/mercurial/help/internals/wireprotocol.txt	Wed May 03 10:30:57 2017 -0700
+++ b/mercurial/help/internals/wireprotocol.txt	Wed May 03 14:07:14 2017 -0700
@@ -632,6 +632,9 @@
 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.