##// END OF EJS Templates
bundle2: also capture reply capability on failure...
Pierre-Yves David -
r25492:219b8ab3 default
parent child Browse files
Show More
@@ -347,8 +347,11 b' def processbundle(repo, unbundler, trans'
347 # craziness in a future version.
347 # craziness in a future version.
348 exc.duringunbundle2 = True
348 exc.duringunbundle2 = True
349 salvaged = []
349 salvaged = []
350 replycaps = None
350 if op.reply is not None:
351 if op.reply is not None:
351 salvaged = op.reply.salvageoutput()
352 salvaged = op.reply.salvageoutput()
353 replycaps = op.reply.capabilities
354 exc._replycaps = replycaps
352 exc._bundle2salvagedoutput = salvaged
355 exc._bundle2salvagedoutput = salvaged
353 raise
356 raise
354 finally:
357 finally:
General Comments 0
You need to be logged in to leave comments. Login now