mercurial/exchange.py
branchstable
changeset 30913 d70971a3ae80
parent 30908 4c8dcb491974
child 30916 455677a7667f
child 31473 ffed3bf5cd4c
--- a/mercurial/exchange.py	Fri Feb 10 18:06:08 2017 +0100
+++ b/mercurial/exchange.py	Fri Feb 10 18:17:20 2017 +0100
@@ -1363,6 +1363,9 @@
     bundle = pullop.remote.getbundle('pull', **kwargs)
     try:
         op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
+    except bundle2.AbortFromPart as exc:
+        pullop.repo.ui.status(_('remote: abort: %s\n') % exc)
+        raise error.Abort(_('pull failed on remote'), hint=exc.hint)
     except error.BundleValueError as exc:
         raise error.Abort(_('missing support for %s') % exc)