##// END OF EJS Templates
hook: for python hook exceptions, add note to run with --traceback...
Siddharth Agarwal -
r28108:2a71d948 default
parent child Browse files
Show More
@@ -106,6 +106,8 b' def _pythonhook(ui, repo, name, hname, f'
106 106 '%s\n') % (hname, exc))
107 107 if throw:
108 108 raise
109 if not ui.tracebackflag:
110 ui.warn(_('(run with --traceback for stack trace)\n'))
109 111 ui.traceback()
110 112 return True, True
111 113 finally:
@@ -541,6 +541,7 b' post- python hooks that fail to *run* do'
541 541 searching for changes
542 542 no changes found
543 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 546 but post- python hooks that fail to *load* do
546 547 $ echo '[hooks]' > .hg/hgrc
General Comments 0
You need to be logged in to leave comments. Login now