Mercurial > hg
diff tests/test-log.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 | fc4fb2f17dd4 |
children | 1bf2b44c4007 |
line wrap: on
line diff
--- a/tests/test-log.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-log.t Mon Nov 23 11:18:48 2020 -0800 @@ -4,13 +4,13 @@ $ cd empty $ hg log $ hg log -r 1 - abort: unknown revision '1'! + abort: unknown revision '1' [255] $ hg log -r -1:0 - abort: unknown revision '-1'! + abort: unknown revision '-1' [255] $ hg log -r 'branch(name)' - abort: unknown revision 'name'! + abort: unknown revision 'name' [255] $ hg log -r null -q -1:000000000000 @@ -1068,7 +1068,7 @@ log -r <some unknown node id> $ hg log -r 1000000000000000000000000000000000000000 - abort: unknown revision '1000000000000000000000000000000000000000'! + abort: unknown revision '1000000000000000000000000000000000000000' [255] log -k r1 @@ -1500,7 +1500,7 @@ log -b dummy $ hg log -b dummy - abort: unknown revision 'dummy'! + abort: unknown revision 'dummy' [255] @@ -1996,7 +1996,7 @@ 1:a765632148dc55d38c35c4f247c618701886cb2f 0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05 $ hg log -r a - abort: hidden revision 'a' is pruned! + abort: hidden revision 'a' is pruned (use --hidden to access hidden revisions) [255] @@ -2060,7 +2060,7 @@ 2:94375ec45bddd2a824535fc04855bd058c926ec0 3:d7d28b288a6b83d5d2cf49f10c5974deed3a1d2e $ hg log -T'{rev}:{node}\n' -r:0 - abort: hidden revision '0' is pruned! + abort: hidden revision '0' is pruned (use --hidden to access hidden revisions) [255] $ hg log -T'{rev}:{node}\n' -f