mercurial/help/internals/wireprotocolv2.txt
changeset 39657 aa7e312375cf
parent 39655 0e03e6a44dee
child 39816 ae20f52437e9
--- a/mercurial/help/internals/wireprotocolv2.txt	Tue Sep 04 10:42:24 2018 -0700
+++ b/mercurial/help/internals/wireprotocolv2.txt	Thu Aug 30 14:55:34 2018 -0700
@@ -213,6 +213,14 @@
    revision
       The raw revision data for a file.
 
+haveparents
+   (bool) Whether the client has the parent revisions of all requested
+   nodes. If set, the server may emit revision data as deltas against
+   any parent revision. If not set, the server MUST only emit deltas for
+   revisions previously emitted by this command.
+
+   False is assumed in the absence of any value.
+
 nodes
    (array of bytestrings) File nodes whose data to retrieve.
 
@@ -349,6 +357,14 @@
    revision
       The raw revision data for the manifest.
 
+haveparents
+   (bool) Whether the client has the parent revisions of all requested
+   nodes. If set, the server may emit revision data as deltas against
+   any parent revision. If not set, the server MUST only emit deltas for
+   revisions previously emitted by this command.
+
+   False is assumed in the absence of any value.
+
 nodes
    (array of bytestring) Manifest nodes whose data to retrieve.
 
@@ -361,7 +377,6 @@
 revisions or ranges)
 TODO consider recursive expansion of manifests (with path filtering for
 narrow use cases)
-TODO more control over whether to emit fulltexts or deltas
 
 The response bytestream starts with a CBOR map describing the data that
 follows. It has the following bytestring keys: