diff mercurial/repair.py @ 32062:ad6c5497cd15 stable

sshpeer: try harder to snag stderr when stdout closes unexpectedly Resolves test failures on FreeBSD, but I'm not happy about the fix. A previous version of this also wrapped readline by putting the hack in the _call method on doublepipe. That was confusing for readers and wasn't necessary - just doing this on read() is sufficient to fix the bugs I'm observing. We can always come back and do readline later if needed.
author Augie Fackler <augie@google.com>
date Thu, 13 Apr 2017 16:09:40 -0400
parents b6d792a9bd11
children a2be2abe9476
line wrap: on
line diff