Mercurial > hg
diff tests/test-init.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 | 189e06b2d719 |
children | 17a695357270 |
line wrap: on
line diff
--- a/tests/test-init.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-init.t Mon Nov 23 11:18:48 2020 -0800 @@ -32,10 +32,10 @@ test custom revlog chunk cache sizes $ hg --config format.chunkcachesize=0 log -R local -pv - abort: revlog chunk cache size 0 is not greater than 0! + abort: revlog chunk cache size 0 is not greater than 0 [255] $ hg --config format.chunkcachesize=1023 log -R local -pv - abort: revlog chunk cache size 1023 is not a power of 2! + abort: revlog chunk cache size 1023 is not a power of 2 [255] $ hg --config format.chunkcachesize=1024 log -R local -pv changeset: 0:08b9e9f63b32 @@ -103,7 +103,7 @@ test failure $ hg init local - abort: repository local already exists! + abort: repository local already exists [255] init+push to remote2 @@ -148,15 +148,15 @@ init to existing repo $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1 - abort: repository remote1 already exists! - abort: could not create remote repo! + abort: repository remote1 already exists + abort: could not create remote repo [255] clone to existing repo $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1 - abort: repository remote1 already exists! - abort: could not create remote repo! + abort: repository remote1 already exists + abort: could not create remote repo [255] output of dummyssh