##// END OF EJS Templates
getbundle: cleanly handle remote abort during getbundle...
Pierre-Yves David -
r30913:d70971a3 stable
parent child Browse files
Show More
@@ -1363,6 +1363,9 b' def _pullbundle2(pullop):'
1363 bundle = pullop.remote.getbundle('pull', **kwargs)
1363 bundle = pullop.remote.getbundle('pull', **kwargs)
1364 try:
1364 try:
1365 op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
1365 op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
1366 except bundle2.AbortFromPart as exc:
1367 pullop.repo.ui.status(_('remote: abort: %s\n') % exc)
1368 raise error.Abort(_('pull failed on remote'), hint=exc.hint)
1366 except error.BundleValueError as exc:
1369 except error.BundleValueError as exc:
1367 raise error.Abort(_('missing support for %s') % exc)
1370 raise error.Abort(_('missing support for %s') % exc)
1368
1371
General Comments 0
You need to be logged in to leave comments. Login now