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.
--- a/mercurial/bundle2.py Wed May 27 00:19:16 2015 -0700
+++ b/mercurial/bundle2.py Wed May 27 00:22:29 2015 -0700
@@ -804,6 +804,8 @@
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)],