mercurial/sshrepo.py
changeset 1358 20abfd48e21c
parent 1357 94586af53d2f
child 1400 cf9a1233738a
--- a/mercurial/sshrepo.py
+++ b/mercurial/sshrepo.py
@@ -47,7 +47,9 @@ class sshrepository(remoterepository):
         try:
             self.pipeo.close()
             self.pipei.close()
-            readerr()
+            # read the error descriptor until EOF
+            for l in self.pipee:
+                self.ui.status("remote: ", l)
             self.pipee.close()
         except:
             pass