sapling/tests/test-ssh-earlyerror.t
Jun Wu 364689727a ssh: remove "remote:" prefix if the stderr message starts with "ssh:"
Summary:
All ssh stderr are prefixed by "remote:", which could be confusing because the
message can also be some errors from the local ssh program. Treat "ssh:" as a
special case and do not prefix it with "remote:".

Reviewed By: markbt

Differential Revision: D10437082

fbshipit-source-id: 37935bd7276969ef17fa5028b02d01e3c9d0bf30
2018-10-18 19:56:49 -07:00

5 lines
169 B
Perl

$ hg --config ui.ssh="echo ssh: SSH is not working 1>&2; exit 1;" clone ssh://foo//bar
ssh: SSH is not working
abort: no suitable response from remote hg!
[255]