This is an archive of the discontinued Mercurial Phabricator instance.

ssh: fix flakey ssh errors on BSD systems
ClosedPublic

Authored by durham on Sep 11 2017, 7:41 PM.

Details

Summary

There's been a persistent issue with flakiness on BSD systems (like OSX) where
the 'no suitable response from remote hg' message would sometimes not appear.
This was caused by one of the earlier calls failing with a "IOError: Broken
pipe". Catching those errors and printing the same message removes the
flakiness.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durham created this revision.Sep 11 2017, 7:41 PM

Best viewed using the ignore-all-whitespace setting (in the History tab). https://phab.mercurial-scm.org/D687?vs=on&id=1743&whitespace=ignore-all#toc

quark accepted this revision.Sep 11 2017, 8:32 PM
quark added a subscriber: quark.

Looks reasonable. Thanks for tracking this down!

durin42 accepted this revision.Sep 11 2017, 9:17 PM
durin42 added a subscriber: durin42.

pushed with delight, may the solaris builders smile on us

This revision is now accepted and ready to land.Sep 11 2017, 9:17 PM
This revision was automatically updated to reflect the committed changes.