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.
--- 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()