mercurial/commandserver.py
changeset 30507 dd539e2d89aa
parent 30473 39d13b8c101d
child 30519 20a42325fdef
--- a/mercurial/commandserver.py	Sat Oct 15 13:47:43 2016 +0900
+++ b/mercurial/commandserver.py	Sat Oct 15 13:57:17 2016 +0900
@@ -529,15 +529,3 @@
             _serverequest(self.ui, self.repo, conn, h.createcmdserver)
         finally:
             gc.collect()  # trigger __del__ since worker process uses os._exit
-
-_servicemap = {
-    'pipe': pipeservice,
-    'unix': unixforkingservice,
-    }
-
-def createservice(ui, repo, opts):
-    mode = opts['cmdserver']
-    try:
-        return _servicemap[mode](ui, repo, opts)
-    except KeyError:
-        raise error.Abort(_('unknown mode %s') % mode)