diff -r f747c085b789 -r 40bb5853fc4b mercurial/sshserver.py --- 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):