changeset 33128:126eae7dae74

bundle2: add debug info about the number of stream params Seems like the %i was never substituted.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 27 Jun 2017 14:38:00 -0700
parents 0aae80d14fed
children 765c6ab07a88
files mercurial/bundle2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: