HomePhabricator

sshpeer: make client print (likely) server errors on stderr (BC)

Description

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