mercurial/bundle2.py
changeset 25331 53ca47ef645d
parent 25324 deed9c6b12d2
child 25332 0cdd1c811705
--- a/mercurial/bundle2.py	Thu May 28 16:42:21 2015 -0400
+++ b/mercurial/bundle2.py	Wed May 27 00:00:35 2015 -0700
@@ -318,6 +318,16 @@
     # - replace this is a init function soon.
     # - exception catching
     unbundler.params
+    if repo.ui.debugflag:
+        msg = ['bundle2-input-bundle:']
+        if unbundler.params:
+            msg.append(' %i params')
+        if op.gettransaction is None:
+            msg.append(' no-transaction')
+        else:
+            msg.append(' with-transaction')
+        msg.append('\n')
+        repo.ui.debug(''.join(msg))
     iterparts = unbundler.iterparts()
     part = None
     try: