##// END OF EJS Templates
sshrepo: don't use readline() on the stderr pipe...
Dan Villiom Podlaski Christiansen -
r13084:c97ded7b default
parent child Browse files
Show More
@@ -91,10 +91,11 b' class sshrepository(wireproto.wirereposi'
91 size = util.fstat(self.pipee).st_size
91 size = util.fstat(self.pipee).st_size
92 if size == 0:
92 if size == 0:
93 break
93 break
94 l = self.pipee.readline()
94 s = self.pipee.read(size)
95 if not l:
95 if not s:
96 break
96 break
97 self.ui.status(_("remote: "), l)
97 for l in s.splitlines():
98 self.ui.status(_("remote: "), l, '\n')
98
99
99 def _abort(self, exception):
100 def _abort(self, exception):
100 self.cleanup()
101 self.cleanup()
General Comments 0
You need to be logged in to leave comments. Login now