diff mercurial/server.py @ 30513:ff7df4bb75de

chgserver: make it a core module and drop extension flags It was an extension just because there were several dependency cycles I needed to address. I don't add 'chgserver' to extensions._builtin since chgserver is considered an internal extension so nobody should enable it by their config.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 15 Oct 2016 14:30:16 +0900
parents a0878bc87379
children ce4ddcda868b
line wrap: on
line diff
--- a/mercurial/server.py	Sat Oct 15 14:37:18 2016 +0900
+++ b/mercurial/server.py	Sat Oct 15 14:30:16 2016 +0900
@@ -15,6 +15,7 @@
 from .i18n import _
 
 from . import (
+    chgserver,
     commandserver,
     error,
     hgweb,
@@ -109,6 +110,7 @@
         return runfn()
 
 _cmdservicemap = {
+    'chgunix': chgserver.chgunixservice,
     'pipe': commandserver.pipeservice,
     'unix': commandserver.unixforkingservice,
 }