diff -r a2f4ea82d6d3 -r 541b2b08f323 mercurial/exchange.py --- 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']