Comments
Patch
@@ -226,11 +226,11 @@ def _pushbundle2(pushop):
bundler.addpart(cgpart)
stream = util.chunkbuffer(bundler.getchunks())
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
pushop.ret = cgreplies['changegroup'][0]['return']
_pushbundle2extrareply(pushop, op, extrainfo)