changeset 25324:deed9c6b12d2

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 27 May 2015 00:22:29 -0700
parents 21a25fb81d2c
children fcd2f9b06629
files mercurial/bundle2.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)],