Mercurial > hg
diff tests/test-identify.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 | 8d72e29ad1e0 |
children |
line wrap: on
line diff
--- a/tests/test-identify.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-identify.t Mon Nov 23 11:18:48 2020 -0800 @@ -155,21 +155,21 @@ test invalid lookup $ hg id -r noNoNO http://localhost:$HGPORT1/ - abort: unknown revision 'noNoNO'! + abort: unknown revision 'noNoNO' [255] Make sure we do not obscure unknown requires file entries (issue2649) $ echo fake >> .hg/requires $ hg id - abort: repository requires features unknown to this Mercurial: fake! + abort: repository requires features unknown to this Mercurial: fake (see https://mercurial-scm.org/wiki/MissingRequirement for more information) [255] $ cd .. #if no-outer-repo $ hg id test - abort: repository requires features unknown to this Mercurial: fake! + abort: repository requires features unknown to this Mercurial: fake (see https://mercurial-scm.org/wiki/MissingRequirement for more information) [255] #endif