Comments
Patch
@@ -899,18 +899,23 @@ class interrupthandler(unpackermixin):
if headersize:
return self._readexact(headersize)
return None
def __call__(self):
+
+ self.ui.debug('bundle2-input-stream-interrupt:'
+ ' opening out of band context\n')
indebug(self.ui, 'bundle2 stream interruption, looking for a part.')
headerblock = self._readpartheader()
if headerblock is None:
indebug(self.ui, 'no part found during interruption.')
return
part = unbundlepart(self.ui, headerblock, self._fp)
op = interruptoperation(self.ui)
_processpart(op, part)
+ self.ui.debug('bundle2-input-stream-interrupt:'
+ ' closing out of band context\n')
class interruptoperation(object):
"""A limited operation to be use by part handler during interruption
It only have access to an ui object.