mercurial/wireprototypes.py
changeset 36112 2f7290555c96
parent 36111 cd6ab329c5c7
child 36402 0c231df1ffdc
equal deleted inserted replaced
36111:cd6ab329c5c7 36112:2f7290555c96
     2 #
     2 #
     3 # This software may be used and distributed according to the terms of the
     3 # This software may be used and distributed according to the terms of the
     4 # GNU General Public License version 2 or any later version.
     4 # GNU General Public License version 2 or any later version.
     5 
     5 
     6 from __future__ import absolute_import
     6 from __future__ import absolute_import
       
     7 
       
     8 class bytesresponse(object):
       
     9     """A wire protocol response consisting of raw bytes."""
       
    10     def __init__(self, data):
       
    11         self.data = data
     7 
    12 
     8 class ooberror(object):
    13 class ooberror(object):
     9     """wireproto reply: failure of a batch of operation
    14     """wireproto reply: failure of a batch of operation
    10 
    15 
    11     Something failed during a batch call. The error message is stored in
    16     Something failed during a batch call. The error message is stored in