mercurial/help/internals/wireprotocolv2.txt
changeset 40172 30f70d11c224
parent 40122 9b19b8ce3804
child 40176 41263df08109
--- a/mercurial/help/internals/wireprotocolv2.txt	Wed Oct 03 13:07:28 2018 -0700
+++ b/mercurial/help/internals/wireprotocolv2.txt	Mon Oct 08 17:45:51 2018 -0700
@@ -87,6 +87,10 @@
       permissions
          An array of permissions required to execute this command.
 
+      *
+         (various) Individual commands may define extra keys that supplement
+         generic command metadata. See the command definition for more.
+
 framingmediatypes
    An array of bytestrings defining the supported framing protocol
    media types. Servers will not accept media types not in this list.
@@ -509,6 +513,15 @@
 revision data or a delta. What the server decides can be inferred by looking
 for the presence of ``delta`` or ``revision`` in the ``fieldsfollowing`` array.
 
+Servers MAY advertise the following extra fields in the capabilities
+descriptor for this command:
+
+recommendedbatchsize
+   (unsigned integer) Number of revisions the server recommends as a batch
+   query size. If defined, clients needing to issue multiple ``manifestdata``
+   commands to obtain needed data SHOULD construct their commands to have
+   this many revisions per request.
+
 pushkey
 -------