Show More
@@ -305,6 +305,11 b' def processbundle(repo, unbundler, trans' | |||||
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: |
General Comments 0
You need to be logged in to leave comments.
Login now