Mercurial > public > mercurial-scm > hg
diff tests/test-static-http.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 | ebee234d952a |
children | 7015b0232c5e |
line wrap: on
line diff
--- a/tests/test-static-http.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-static-http.t Mon Nov 23 11:18:48 2020 -0800 @@ -94,7 +94,7 @@ $ cd .. $ hg clone -r doesnotexist static-http://localhost:$HGPORT/remote local0 - abort: unknown revision 'doesnotexist'! + abort: unknown revision 'doesnotexist' [255] $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 adding changesets @@ -169,7 +169,7 @@ $ cd .. $ mkdir notarepo $ hg clone static-http://localhost:$HGPORT/notarepo local3 - abort: 'http://localhost:$HGPORT/notarepo' does not appear to be an hg repository! + abort: 'http://localhost:$HGPORT/notarepo' does not appear to be an hg repository [255] Clone with tags and branches works