hgext/chgserver.py
changeset 29543 d74b8a4fde3b
parent 29542 6011ad3b0a42
child 29545 28aca3fafc2a
equal deleted inserted replaced
29542:6011ad3b0a42 29543:d74b8a4fde3b
   531                          'getpager': getpager,
   531                          'getpager': getpager,
   532                          'setenv': setenv,
   532                          'setenv': setenv,
   533                          'setumask': setumask})
   533                          'setumask': setumask})
   534 
   534 
   535 class _requesthandler(commandserver._requesthandler):
   535 class _requesthandler(commandserver._requesthandler):
   536     def _createcmdserver(self, conn, fin, fout):
   536     def _createcmdserver(self, repo, conn, fin, fout):
   537         ui = self.server.ui
   537         ui = self.server.ui
   538         repo = self.server.repo
       
   539         return chgcmdserver(ui, repo, fin, fout, conn,
   538         return chgcmdserver(ui, repo, fin, fout, conn,
   540                             self.server.hashstate, self.server.baseaddress)
   539                             self.server.hashstate, self.server.baseaddress)
   541 
   540 
   542 def _tempaddress(address):
   541 def _tempaddress(address):
   543     return '%s.%d.tmp' % (address, os.getpid())
   542     return '%s.%d.tmp' % (address, os.getpid())