mercurial/bundle2.py
changeset 21133 bef4a2adc532
parent 21131 b7435117d951
child 21134 2f8c4fa237f5
equal deleted inserted replaced
21132:350dc24a553d 21133:bef4a2adc532
   307             # risk catching KeyErrors from anything other than the
   307             # risk catching KeyErrors from anything other than the
   308             # parthandlermapping lookup (any KeyError raised by handler()
   308             # parthandlermapping lookup (any KeyError raised by handler()
   309             # itself represents a defect of a different variety).
   309             # itself represents a defect of a different variety).
   310             output = None
   310             output = None
   311             if op.reply is not None:
   311             if op.reply is not None:
   312                 op.ui.pushbuffer()
   312                 op.ui.pushbuffer(error=True)
   313                 output = ''
   313                 output = ''
   314             try:
   314             try:
   315                 handler(op, part)
   315                 handler(op, part)
   316             finally:
   316             finally:
   317                 if output is not None:
   317                 if output is not None: