equal
deleted
inserted
replaced
303 raise |
303 raise |
304 op.ui.debug('ignoring unknown advisory part %r\n' % key) |
304 op.ui.debug('ignoring unknown advisory part %r\n' % key) |
305 # todo: |
305 # todo: |
306 # - consume the part once we use streaming |
306 # - consume the part once we use streaming |
307 continue |
307 continue |
|
308 |
|
309 # handler is called outside the above try block so that we don't |
|
310 # risk catching KeyErrors from anything other than the |
|
311 # parthandlermapping lookup (any KeyError raised by handler() |
|
312 # itself represents a defect of a different variety). |
308 handler(op, part) |
313 handler(op, part) |
309 except Exception: |
314 except Exception: |
310 for part in iterparts: |
315 for part in iterparts: |
311 pass # consume the bundle content |
316 pass # consume the bundle content |
312 raise |
317 raise |