Mercurial > public > mercurial-scm > hg-stable
diff tests/test-ssh-repoerror.t @ 45921: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 | b6673e9bdcf6 |
children | be496e3489b9 |
line wrap: on
line diff
--- a/tests/test-ssh-repoerror.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-ssh-repoerror.t Mon Nov 23 11:18:48 2020 -0800 @@ -17,7 +17,7 @@ $ hg id ssh://user@dummy/no-read remote: abort: Permission denied: *$TESTTMP/no-read/.hg* (glob) - abort: no suitable response from remote hg! + abort: no suitable response from remote hg [255] special case files are visible, but unreadable @@ -35,7 +35,7 @@ $ hg id ssh://user@dummy/other remote: abort: Permission denied: '$TESTTMP/other/.hg/requires' - abort: no suitable response from remote hg! + abort: no suitable response from remote hg [255] directory toward the repository is read only @@ -51,7 +51,7 @@ $ hg id ssh://user@dummy/deep/nested remote: abort: Permission denied: *$TESTTMP/deep/nested/.hg* (glob) - abort: no suitable response from remote hg! + abort: no suitable response from remote hg [255] repository has wrong requirement @@ -62,7 +62,7 @@ 000000000000 $ echo flying-car >> repo-future/.hg/requires $ hg id ssh://user@dummy/repo-future - remote: abort: repository requires features unknown to this Mercurial: flying-car! + remote: abort: repository requires features unknown to this Mercurial: flying-car remote: (see https://mercurial-scm.org/wiki/MissingRequirement for more information) - abort: no suitable response from remote hg! + abort: no suitable response from remote hg [255]