Mercurial > hg
comparison tests/test-legacy-exit-code.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 | 21733e8c924f |
children | 55c6ebd11cb9 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
10 $ echo a > a | 10 $ echo a > a |
11 Expect exit code 0 on success | 11 Expect exit code 0 on success |
12 $ hg ci -Aqm initial | 12 $ hg ci -Aqm initial |
13 | 13 |
14 $ hg co nonexistent | 14 $ hg co nonexistent |
15 abort: unknown revision 'nonexistent'! | 15 abort: unknown revision 'nonexistent' |
16 [255] | 16 [255] |
17 | 17 |
18 $ hg co 'none()' | 18 $ hg co 'none()' |
19 abort: empty revision set | 19 abort: empty revision set |
20 [255] | 20 [255] |