--- a/tests/test-ssh.t Mon Nov 23 12:20:19 2020 +0100
+++ b/tests/test-ssh.t Mon Nov 23 11:18:48 2020 -0800
@@ -43,19 +43,19 @@
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]
$ hg clone -q -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
$ 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]
clone remote via stream
@@ -135,8 +135,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
@@ -360,7 +360,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
@@ -379,7 +379,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):
@@ -420,12 +420,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' -R 'a'repo' serve --stdio" "$PYTHON" "$TESTDIR/../contrib/hg-ssh"
@@ -675,7 +675,7 @@
$ hg pull ssh://brokenrepository -e "\"$PYTHON\" \"$TESTDIR/dummyssh\""
pulling from ssh://brokenrepository/
- abort: no suitable response from remote hg!
+ abort: no suitable response from remote hg
[255]
abort with configured error hint when there is a ssh problem when pulling
@@ -683,7 +683,7 @@
$ hg pull ssh://brokenrepository -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" \
> --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
pulling from ssh://brokenrepository/
- abort: no suitable response from remote hg!
+ abort: no suitable response from remote hg
(Please see http://company/internalwiki/ssh.html)
[255]
@@ -696,11 +696,11 @@
$ hg pull ssh://something --config ui.ssh="sh dumpenv"
pulling from ssh://something/
remote:
- abort: no suitable response from remote hg!
+ abort: no suitable response from remote hg
[255]
$ hg pull ssh://something --config ui.ssh="sh dumpenv" --config sshenv.VAR=17
pulling from ssh://something/
remote: 17
- abort: no suitable response from remote hg!
+ abort: no suitable response from remote hg
[255]