mercurial/commandserver.py
changeset 22988 32b77aba2772
parent 22563 8cc5e673cac0
child 22989 dc8803ce3dfe
--- a/mercurial/commandserver.py	Thu Oct 16 14:55:45 2014 -0400
+++ b/mercurial/commandserver.py	Sat Sep 27 14:52:09 2014 +0900
@@ -248,3 +248,13 @@
             return 1
 
         return 0
+
+class pipeservice(object):
+    def __init__(self, ui, repo, opts):
+        self.server = server(ui, repo, opts['cmdserver'])
+
+    def init(self):
+        pass
+
+    def run(self):
+        return self.server.serve()