changeset 33065:ef46d432e2e4

dispatch: remove unused _loaded Now, there is no user for dispatch._loaded.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 24 Jun 2017 02:39:21 +0900
parents 45b0e9d05ee9
children a49ab7f5e7e7
files mercurial/dispatch.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dispatch.py	Sat Jun 24 02:39:20 2017 +0900
+++ b/mercurial/dispatch.py	Sat Jun 24 02:39:21 2017 +0900
@@ -720,8 +720,6 @@
         return lambda: runcommand(lui, None, cmd, args[:1], ui, options, d,
                                   [], {})
 
-_loaded = set()
-
 def _dispatch(req):
     args = req.args
     ui = req.ui
@@ -746,8 +744,7 @@
     profile = lui.configbool('profiling', 'enabled')
     with profiling.profile(lui, enabled=profile) as profiler:
         # Configure extensions in phases: uisetup, extsetup, cmdtable, and
-        # reposetup. Programs like TortoiseHg will call _dispatch several
-        # times so we keep track of configured extensions in _loaded.
+        # reposetup
         extensions.loadall(lui)
         # Propagate any changes to lui.__class__ by extensions
         ui.__class__ = lui.__class__