mercurial/commands.py
changeset 27352 9fd8f1552369
parent 27344 43c00ca887d1
child 27377 d1c998d7b103
--- a/mercurial/commands.py	Tue Nov 24 22:58:40 2015 +0900
+++ b/mercurial/commands.py	Tue Nov 24 23:03:54 2015 +0900
@@ -23,6 +23,7 @@
 import phases, obsolete, exchange, bundle2, repair, lock as lockmod
 import ui as uimod
 import streamclone
+import commandserver
 
 table = {}
 
@@ -6184,7 +6185,6 @@
         s.serve_forever()
 
     if opts["cmdserver"]:
-        import commandserver
         service = commandserver.createservice(ui, repo, opts)
     else:
         service = hgweb.createservice(ui, repo, opts)