Mercurial > public > mercurial-scm > hg
diff tests/test-ssh.t @ 44860:5d77f571a563
sshpeer: make client print (likely) server errors on stderr (BC)
so `hg clone -q` or `hg pull -q` don't print `abort: no suitable
response from remote hg!` with no indication of what went wrong.
There are other errors still silenced by -q (like failing to push due
to a server hook), but the current change covers a good fraction of
the problem (all errors setting up the ssh connection, no such remote
repository, no access to the repository).
Differential Revision: https://phab.mercurial-scm.org/D8584
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 25 May 2020 22:47:12 -0400 |
parents | 15e26cc0e2c6 |
children | d68618954ade |
line wrap: on
line diff
--- a/tests/test-ssh.t Mon May 25 20:02:15 2020 -0400 +++ b/tests/test-ssh.t Mon May 25 22:47:12 2020 -0400 @@ -47,6 +47,7 @@ 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! [255]