Mercurial > hg-stable
changeset 25335:8f7137a85a0e
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.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 26 May 2015 23:47:19 -0700 |
parents | 76cba1ecf55f |
children | 7c60a42265fb |
files | mercurial/bundle2.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundle2.py Tue May 26 23:58:38 2015 -0700 +++ b/mercurial/bundle2.py Tue May 26 23:47:19 2015 -0700 @@ -901,6 +901,9 @@ 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 @@ 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