equal
deleted
inserted
replaced
59 else: |
59 else: |
60 ui.warn(_('error: %s hook raised an exception: ' |
60 ui.warn(_('error: %s hook raised an exception: ' |
61 '%s\n') % (hname, exc)) |
61 '%s\n') % (hname, exc)) |
62 if throw: |
62 if throw: |
63 raise |
63 raise |
64 ui.print_exc() |
64 ui.traceback() |
65 return True |
65 return True |
66 if r: |
66 if r: |
67 if throw: |
67 if throw: |
68 raise util.Abort(_('%s hook failed') % hname) |
68 raise util.Abort(_('%s hook failed') % hname) |
69 ui.warn(_('warning: %s hook failed\n') % hname) |
69 ui.warn(_('warning: %s hook failed\n') % hname) |