--- a/mercurial/dispatch.py Thu May 07 01:33:45 2009 +0200
+++ b/mercurial/dispatch.py Thu May 07 17:56:57 2009 +0200
@@ -252,7 +252,7 @@
result = ret)
return ret
-_loaded = {}
+_loaded = set()
def _dispatch(ui, args):
# read --config before doing anything else
# (e.g. to change trust settings for reading .hg/hgrc)
@@ -300,7 +300,7 @@
ui.warn(_("extension '%s' overrides commands: %s\n")
% (name, " ".join(overrides)))
commands.table.update(cmdtable)
- _loaded[name] = 1
+ _loaded.add(name)
# check for fallback encoding
fallback = lui.config('ui', 'fallbackencoding')
if fallback: