# HG changeset patch # User Siddharth Agarwal # Date 2017-06-27 21:38:00 # Node ID 126eae7dae74b03de0b95cc5ed3c7fbc5103cfcd # Parent 0aae80d14fed73b87a4070ce6a38b0f125bc498c bundle2: add debug info about the number of stream params Seems like the %i was never substituted. diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -349,7 +349,7 @@ def processbundle(repo, unbundler, trans 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: