Mercurial > hg
diff tests/test-revlog-v2.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 | 15d35f2ba474 |
children | 17a695357270 |
line wrap: on
line diff
--- a/tests/test-revlog-v2.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-revlog-v2.t Mon Nov 23 11:18:48 2020 -0800 @@ -6,7 +6,7 @@ $ cd invalidreq $ echo exp-revlogv2.unknown >> .hg/requires $ hg log - abort: repository requires features unknown to this Mercurial: exp-revlogv2.unknown! + abort: repository requires features unknown to this Mercurial: exp-revlogv2.unknown (see https://mercurial-scm.org/wiki/MissingRequirement for more information) [255] $ cd .. @@ -35,7 +35,7 @@ ... fh.write(b'\xff\x00\xde\xad') and None $ hg log - abort: unknown flags (0xff00) in version 57005 revlog 00changelog.i! + abort: unknown flags (0xff00) in version 57005 revlog 00changelog.i [255] $ cd ..