Show More
@@ -106,6 +106,8 b' def _pythonhook(ui, repo, name, hname, f' | |||||
106 | '%s\n') % (hname, exc)) |
|
106 | '%s\n') % (hname, exc)) | |
107 | if throw: |
|
107 | if throw: | |
108 | raise |
|
108 | raise | |
|
109 | if not ui.tracebackflag: | |||
|
110 | ui.warn(_('(run with --traceback for stack trace)\n')) | |||
109 | ui.traceback() |
|
111 | ui.traceback() | |
110 | return True, True |
|
112 | return True, True | |
111 | finally: |
|
113 | finally: |
@@ -541,6 +541,7 b' post- python hooks that fail to *run* do' | |||||
541 | searching for changes |
|
541 | searching for changes | |
542 | no changes found |
|
542 | no changes found | |
543 | error: post-pull.broken hook raised an exception: unsupported operand type(s) for +: 'int' and 'dict' |
|
543 | error: post-pull.broken hook raised an exception: unsupported operand type(s) for +: 'int' and 'dict' | |
|
544 | (run with --traceback for stack trace) | |||
544 |
|
545 | |||
545 | but post- python hooks that fail to *load* do |
|
546 | but post- python hooks that fail to *load* do | |
546 | $ echo '[hooks]' > .hg/hgrc |
|
547 | $ echo '[hooks]' > .hg/hgrc |
General Comments 0
You need to be logged in to leave comments.
Login now