Submitter | Pierre-Yves David |
---|---|
Date | April 22, 2014, 8:10 p.m. |
Message ID | <4c01060d31545244d980.1398197450@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/4425/ |
State | Accepted |
Commit | a92619a2dbd70ef0cd9b95b37b8ffa1a7fcd5d03 |
Headers | show |
Comments
Patch
diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -582,11 +582,11 @@ def _pullbundle2(pullop): if kwargs.keys() == ['format']: return # nothing to pull bundle = pullop.remote.getbundle('pull', **kwargs) try: op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction) - except KeyError, exc: + except UnknownPartError, exc: raise util.Abort('missing support for %s' % exc) assert len(op.records['changegroup']) == 1 pullop.cgresult = op.records['changegroup'][0]['return'] def _pullbundle2extraprepare(pullop, kwargs):