mercurial/dispatch.py
changeset 32377 c942c83ac2ec
parent 32340 9c023179e8d0
child 32379 71e735bd8170
--- a/mercurial/dispatch.py	Sun May 14 16:42:16 2017 +0900
+++ b/mercurial/dispatch.py	Thu May 04 17:13:12 2017 +0900
@@ -25,7 +25,6 @@
     cmdutil,
     color,
     commands,
-    debugcommands,
     demandimport,
     encoding,
     error,
@@ -750,10 +749,6 @@
     rpath = _earlygetopt(["-R", "--repository", "--repo"], args)
     path, lui = _getlocal(ui, rpath)
 
-    # Side-effect of accessing is debugcommands module is guaranteed to be
-    # imported and commands.table is populated.
-    debugcommands.command
-
     uis = {ui, lui}
 
     if req.repo: