##// END OF EJS Templates
dispatch: remember loaded extensions in a real set
Martin Geisler -
r8304:991ca609 default
parent child Browse files
Show More
@@ -252,7 +252,7 b' def runcommand(lui, repo, cmd, fullargs,'
252 252 result = ret)
253 253 return ret
254 254
255 _loaded = {}
255 _loaded = set()
256 256 def _dispatch(ui, args):
257 257 # read --config before doing anything else
258 258 # (e.g. to change trust settings for reading .hg/hgrc)
@@ -300,7 +300,7 b' def _dispatch(ui, args):'
300 300 ui.warn(_("extension '%s' overrides commands: %s\n")
301 301 % (name, " ".join(overrides)))
302 302 commands.table.update(cmdtable)
303 _loaded[name] = 1
303 _loaded.add(name)
304 304 # check for fallback encoding
305 305 fallback = lui.config('ui', 'fallbackencoding')
306 306 if fallback:
General Comments 0
You need to be logged in to leave comments. Login now