# HG changeset patch # User Pierre-Yves David # Date 2015-05-27 07:22:29 # Node ID deed9c6b12d29bc404433d1eabad762d974acaf5 # Parent 21a25fb81d2cce049c78a7d1d93ab9c9408de44d bundle2: add generic debug output regarding generated 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 @@ -804,6 +804,8 @@ class bundlepart(object): yield chunk except BaseException, exc: # backup exception data for later + ui.debug('bundle2-input-stream-interrupt: encoding exception %s' + % exc) exc_info = sys.exc_info() msg = 'unexpected error: %s' % exc interpart = bundlepart('error:abort', [('message', msg)],