branch | stable |
changeset 21180 | b056777221bf |
parent 21159 | 024f38f6d5f6 |
child 21181 | a92619a2dbd7 |
--- a/mercurial/exchange.py Mon Apr 21 19:42:40 2014 -0700 +++ b/mercurial/exchange.py Mon Apr 21 19:42:51 2014 -0700 @@ -228,7 +228,7 @@ reply = pushop.remote.unbundle(stream, ['force'], 'push') try: op = bundle2.processbundle(pushop.repo, reply) - except KeyError, exc: + except bundle2.UnknownPartError, exc: raise util.Abort('missing support for %s' % exc) cgreplies = op.records.getreplies(cgpart.id) assert len(cgreplies['changegroup']) == 1