##// END OF EJS Templates
bundle2: catch UnknownPartError during push...
Pierre-Yves David -
r21180:b0567772 stable
parent child Browse files
Show More
@@ -228,7 +228,7 b' def _pushbundle2(pushop):'
228 reply = pushop.remote.unbundle(stream, ['force'], 'push')
228 reply = pushop.remote.unbundle(stream, ['force'], 'push')
229 try:
229 try:
230 op = bundle2.processbundle(pushop.repo, reply)
230 op = bundle2.processbundle(pushop.repo, reply)
231 except KeyError, exc:
231 except bundle2.UnknownPartError, exc:
232 raise util.Abort('missing support for %s' % exc)
232 raise util.Abort('missing support for %s' % exc)
233 cgreplies = op.records.getreplies(cgpart.id)
233 cgreplies = op.records.getreplies(cgpart.id)
234 assert len(cgreplies['changegroup']) == 1
234 assert len(cgreplies['changegroup']) == 1
General Comments 0
You need to be logged in to leave comments. Login now