# HG changeset patch # User Pierre-Yves David # Date 2015-05-27 06:47:19 # Node ID 8f7137a85a0ed31861a8cf38a10083bef5afe85f # Parent 76cba1ecf55ffc8b99082d58144538c0318c5c4a bundle2: add generic debug output regarding processed interruption If we are about to hide the detailed debug output, we need some generic debug message to replace it in a concise way. diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -901,6 +901,9 @@ class interrupthandler(unpackermixin): 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: @@ -909,6 +912,8 @@ class interrupthandler(unpackermixin): 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