mercurial/wireprototypes.py
changeset 40328 2c55716f8a1c
parent 40176 41263df08109
child 40492 440f5b65be57
--- a/mercurial/wireprototypes.py	Wed Sep 26 14:38:43 2018 -0700
+++ b/mercurial/wireprototypes.py	Tue Oct 16 21:35:33 2018 +0200
@@ -389,3 +389,12 @@
     fullhashseed = attr.ib(default=None)
     serverdercerts = attr.ib(default=None)
     servercadercerts = attr.ib(default=None)
+
+@attr.s
+class indefinitebytestringresponse(object):
+    """Represents an object to be encoded to an indefinite length bytestring.
+
+    Instances are initialized from an iterable of chunks, with each chunk being
+    a bytes instance.
+    """
+    chunks = attr.ib()