branch | stable |
changeset 21192 | 541b2b08f323 |
parent 21187 | bcfd44abad93 |
child 21256 | 750c7c14a637 |
--- a/mercurial/exchange.py Tue Apr 29 11:02:40 2014 +0900 +++ b/mercurial/exchange.py Tue Apr 29 12:35:02 2014 +0900 @@ -587,7 +587,7 @@ bundle = pullop.remote.getbundle('pull', **kwargs) try: op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction) - except UnknownPartError, exc: + except bundle2.UnknownPartError, exc: raise util.Abort('missing support for %s' % exc) assert len(op.records['changegroup']) == 1 pullop.cgresult = op.records['changegroup'][0]['return']