bundle2: add debug info about the number of stream params
authorSiddharth Agarwal <sid0@fb.com>
Tue, 27 Jun 2017 14:38:00 -0700
changeset 33128 126eae7dae74
parent 33127 0aae80d14fed
child 33129 765c6ab07a88
bundle2: add debug info about the number of stream params Seems like the %i was never substituted.
mercurial/bundle2.py
--- a/mercurial/bundle2.py	Tue Jun 27 14:30:55 2017 -0700
+++ b/mercurial/bundle2.py	Tue Jun 27 14:38:00 2017 -0700
@@ -349,7 +349,7 @@
     if repo.ui.debugflag:
         msg = ['bundle2-input-bundle:']
         if unbundler.params:
-            msg.append(' %i params')
+            msg.append(' %i params' % len(unbundler.params))
         if op.gettransaction is None or op.gettransaction is _notransaction:
             msg.append(' no-transaction')
         else: