##// END OF EJS Templates
py3: add Python 3 exception output to test-hook.t...
Denis Laxalde -
r43585:a973a75e default
parent child Browse files
Show More
@@ -980,7 +980,8 b' different between Python 2.6 and Python '
980 980 Traceback (most recent call last):
981 981 ImportError: No module named hgext_syntaxerror
982 982 Traceback (most recent call last):
983 HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
983 HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (no-py3 !)
984 mercurial.error.HookLoadError: b'preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed' (py3 !)
984 985 abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
985 986
986 987 $ echo '[hooks]' > ../a/.hg/hgrc
@@ -1139,7 +1140,8 b' make sure --traceback works on hook impo'
1139 1140 Traceback (most recent call last):
1140 1141 ImportError: No module named hgext_importfail
1141 1142 Traceback (most recent call last):
1142 HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed
1143 HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (no-py3 !)
1144 mercurial.error.HookLoadError: b'precommit.importfail hook is invalid: import of "importfail" failed' (py3 !)
1143 1145 abort: precommit.importfail hook is invalid: import of "importfail" failed
1144 1146
1145 1147 Issue1827: Hooks Update & Commit not completely post operation
General Comments 0
You need to be logged in to leave comments. Login now