Mercurial > hg
comparison tests/test-hook.t @ 45906:95c4cca641f6
errors: remove trailing "!" from some error messages for consistency
Some types of exceptions had a trailing "!" printed after the message
from the exception itself. I guess some of these errors seem a little
more severe (?), but it seems more likely that the inconsistency was
just an oversight.
Differential Revision: https://phab.mercurial-scm.org/D9378
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 23 Nov 2020 11:18:48 -0800 |
parents | 09da5cf44772 |
children | 768056549737 0760282995cf |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
1120 abort: $ENOENT$: '$TESTTMP/d/repo/nonexistent.py' | 1120 abort: $ENOENT$: '$TESTTMP/d/repo/nonexistent.py' |
1121 [255] | 1121 [255] |
1122 | 1122 |
1123 $ hg id | 1123 $ hg id |
1124 loading pre-identify.npmd hook failed: | 1124 loading pre-identify.npmd hook failed: |
1125 abort: No module named repo! (no-py3 !) | 1125 abort: No module named repo (no-py3 !) |
1126 abort: No module named 'repo'! (py3 !) | 1126 abort: No module named 'repo' (py3 !) |
1127 [255] | 1127 [255] |
1128 | 1128 |
1129 $ cd ../../b | 1129 $ cd ../../b |
1130 | 1130 |
1131 make sure --traceback works on hook import failure | 1131 make sure --traceback works on hook import failure |