Mercurial > hg
diff tests/test-revlog.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 | 29b0e9cd02f4 |
children | 17a695357270 |
line wrap: on
line diff
--- a/tests/test-revlog.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-revlog.t Mon Nov 23 11:18:48 2020 -0800 @@ -7,7 +7,7 @@ ... fh.write(b'\x00\x01\x00\x00') and None $ hg log - abort: unknown flags (0x01) in version 0 revlog 00changelog.i! + abort: unknown flags (0x01) in version 0 revlog 00changelog.i [255] Unknown flags on revlog version 1 are rejected @@ -16,7 +16,7 @@ ... fh.write(b'\x00\x04\x00\x01') and None $ hg log - abort: unknown flags (0x04) in version 1 revlog 00changelog.i! + abort: unknown flags (0x04) in version 1 revlog 00changelog.i [255] Unknown version is rejected @@ -25,7 +25,7 @@ ... fh.write(b'\x00\x00\x00\x02') and None $ hg log - abort: unknown version (2) in revlog 00changelog.i! + abort: unknown version (2) in revlog 00changelog.i [255] $ cd ..