mercurial/wireprototypes.py
changeset 39559 07b58266bce3
parent 37810 856f381ad74b
child 39814 d059cb669632
--- a/mercurial/wireprototypes.py	Mon Aug 27 13:30:44 2018 -0700
+++ b/mercurial/wireprototypes.py	Wed Sep 05 09:06:40 2018 -0700
@@ -106,27 +106,6 @@
     def __init__(self, gen=None):
         self.gen = gen
 
-class cborresponse(object):
-    """Encode the response value as CBOR."""
-    def __init__(self, v):
-        self.value = v
-
-class v2errorresponse(object):
-    """Represents a command error for version 2 transports."""
-    def __init__(self, message, args=None):
-        self.message = message
-        self.args = args
-
-class v2streamingresponse(object):
-    """A response whose data is supplied by a generator.
-
-    The generator can either consist of data structures to CBOR
-    encode or a stream of already-encoded bytes.
-    """
-    def __init__(self, gen, compressible=True):
-        self.gen = gen
-        self.compressible = compressible
-
 # list of nodes encoding / decoding
 def decodelist(l, sep=' '):
     if l: