Mercurial > public > mercurial-scm > hg-stable
diff tests/test-ssh-bundle1.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 | d68618954ade |
children | 7015b0232c5e |
line wrap: on
line diff
--- a/tests/test-ssh-bundle1.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-ssh-bundle1.t Mon Nov 23 11:18:48 2020 -0800 @@ -53,16 +53,16 @@ repo not found error $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local - remote: abort: repository nonexistent not found! - abort: no suitable response from remote hg! + remote: abort: repository nonexistent not found + abort: no suitable response from remote hg [255] non-existent absolute path #if no-msys $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local - remote: abort: repository /$TESTTMP/nonexistent not found! - abort: no suitable response from remote hg! + remote: abort: repository /$TESTTMP/nonexistent not found + abort: no suitable response from remote hg [255] #endif @@ -147,8 +147,8 @@ $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist pulling from ssh://user@dummy/doesnotexist - remote: abort: repository doesnotexist not found! - abort: no suitable response from remote hg! + remote: abort: repository doesnotexist not found + abort: no suitable response from remote hg [255] local change @@ -340,7 +340,7 @@ $ hg push ssh://user:erroneouspwd@dummy/remote pushing to ssh://user:*@dummy/remote (glob) - abort: password in URL not supported! + abort: password in URL not supported [255] $ cd $TESTTMP @@ -359,7 +359,7 @@ 73649e48688a $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO" - abort: unknown revision 'noNoNO'! + abort: unknown revision 'noNoNO' [255] Test (non-)escaping of remote paths with spaces when cloning (issue3145): @@ -387,12 +387,12 @@ $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" remote: Illegal repository "$TESTTMP/a'repo" - abort: no suitable response from remote hg! + abort: no suitable response from remote hg [255] $ hg id --ssh "sh ssh.sh" --remotecmd hacking "ssh://user@dummy/a'repo" remote: Illegal command "hacking -R 'a'\''repo' serve --stdio" - abort: no suitable response from remote hg! + abort: no suitable response from remote hg [255] $ SSH_ORIGINAL_COMMAND="'hg' serve -R 'a'repo' --stdio" "$PYTHON" "$TESTDIR/../contrib/hg-ssh"