comparison mercurial/bundle2.py @ 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 0224820688ac
comparison
equal deleted inserted replaced
33127:0aae80d14fed 33128:126eae7dae74
347 # - exception catching 347 # - exception catching
348 unbundler.params 348 unbundler.params
349 if repo.ui.debugflag: 349 if repo.ui.debugflag:
350 msg = ['bundle2-input-bundle:'] 350 msg = ['bundle2-input-bundle:']
351 if unbundler.params: 351 if unbundler.params:
352 msg.append(' %i params') 352 msg.append(' %i params' % len(unbundler.params))
353 if op.gettransaction is None or op.gettransaction is _notransaction: 353 if op.gettransaction is None or op.gettransaction is _notransaction:
354 msg.append(' no-transaction') 354 msg.append(' no-transaction')
355 else: 355 else:
356 msg.append(' with-transaction') 356 msg.append(' with-transaction')
357 msg.append('\n') 357 msg.append('\n')