# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1291236368 -3600 # Node ID c97ded7b6e791f7899b8482d6282d4d02c2c02d4 # Parent c0290fc6b486f2fc649a936ab8a063f1c9ca2973 sshrepo: don't use readline() on the stderr pipe For some reason, the stat/readline dance suppressed lines following the first in PyPy 1.4. diff -r c0290fc6b486 -r c97ded7b6e79 mercurial/sshrepo.py --- a/mercurial/sshrepo.py Wed Dec 01 21:46:08 2010 +0100 +++ b/mercurial/sshrepo.py Wed Dec 01 21:46:08 2010 +0100 @@ -91,10 +91,11 @@ size = util.fstat(self.pipee).st_size if size == 0: break - l = self.pipee.readline() - if not l: + s = self.pipee.read(size) + if not s: break - self.ui.status(_("remote: "), l) + for l in s.splitlines(): + self.ui.status(_("remote: "), l, '\n') def _abort(self, exception): self.cleanup()