--- a/mercurial/commands.py Tue Dec 26 14:54:48 2006 +0100
+++ b/mercurial/commands.py Tue Dec 26 15:33:50 2006 +0100
@@ -3053,9 +3053,10 @@
if uisetup:
uisetup(ui)
cmdtable = getattr(mod, 'cmdtable', {})
- for t in cmdtable:
- if t in table:
- ui.warn(_("module %s overrides %s\n") % (name, t))
+ overrides = [cmd for cmd in cmdtable if cmd in table]
+ if overrides:
+ ui.warn(_("extension '%s' overrides commands: %s\n")
+ % (name, " ".join(overrides)))
table.update(cmdtable)
def parseconfig(config):