hgext/chgserver.py
changeset 29542 6011ad3b0a42
parent 29532 dda6bf886839
child 29543 d74b8a4fde3b
--- a/hgext/chgserver.py	Wed Jul 13 10:46:26 2016 +0200
+++ b/hgext/chgserver.py	Sun May 22 12:44:25 2016 +0900
@@ -533,10 +533,10 @@
                          'setumask': setumask})
 
 class _requesthandler(commandserver._requesthandler):
-    def _createcmdserver(self):
+    def _createcmdserver(self, conn, fin, fout):
         ui = self.server.ui
         repo = self.server.repo
-        return chgcmdserver(ui, repo, self.rfile, self.wfile, self.connection,
+        return chgcmdserver(ui, repo, fin, fout, conn,
                             self.server.hashstate, self.server.baseaddress)
 
 def _tempaddress(address):