diff -r cd6ab329c5c7 -r 2f7290555c96 mercurial/wireprototypes.py --- a/mercurial/wireprototypes.py Wed Feb 07 16:29:05 2018 -0800 +++ b/mercurial/wireprototypes.py Wed Feb 07 20:27:36 2018 -0800 @@ -5,6 +5,11 @@ from __future__ import absolute_import +class bytesresponse(object): + """A wire protocol response consisting of raw bytes.""" + def __init__(self, data): + self.data = data + class ooberror(object): """wireproto reply: failure of a batch of operation