mercurial/sshserver.py
changeset 12703 40bb5853fc4b
parent 12337 6a6149487817
child 13719 cc9bf81382f5
--- a/mercurial/sshserver.py	Mon Oct 11 12:44:33 2010 -0500
+++ b/mercurial/sshserver.py	Mon Oct 11 12:45:36 2010 -0500
@@ -79,6 +79,9 @@
         self.sendresponse('')
         self.sendresponse(str(rsp.res))
 
+    def sendpusherror(self, rsp):
+        self.sendresponse(rsp.res)
+
     def serve_forever(self):
         try:
             while self.serve_one():
@@ -92,6 +95,7 @@
         str: sendresponse,
         wireproto.streamres: sendstream,
         wireproto.pushres: sendpushresponse,
+        wireproto.pusherr: sendpusherror,
     }
 
     def serve_one(self):