mercurial/bundle2.py
changeset 24795 f9aa4cb8f2dd
parent 24794 21f2e8f48ae1
child 24846 e79dd1c9753e
--- a/mercurial/bundle2.py	Thu Apr 16 03:16:04 2015 -0400
+++ b/mercurial/bundle2.py	Thu Apr 16 03:17:01 2015 -0400
@@ -318,6 +318,10 @@
         # type of bundle. We should probably clean up or drop this return code
         # craziness in a future version.
         exc.duringunbundle2 = True
+        salvaged = []
+        if op.reply is not None:
+            salvaged = op.reply.salvageoutput()
+        exc._bundle2salvagedoutput = salvaged
         raise
     return op