Comments
Patch
@@ -345,12 +345,15 @@ def processbundle(repo, unbundler, trans
# needed to handle different return codes to unbundle according to the
# type of bundle. We should probably clean up or drop this return code
# craziness in a future version.
exc.duringunbundle2 = True
salvaged = []
+ replycaps = None
if op.reply is not None:
salvaged = op.reply.salvageoutput()
+ replycaps = op.reply.capabilities
+ exc._replycaps = replycaps
exc._bundle2salvagedoutput = salvaged
raise
finally:
repo.ui.debug('bundle2-input-bundle: %i parts total\n' % nbpart)