diff -r 402d317778d3 -r b4c035057d34 hgext/mq.py --- a/hgext/mq.py Wed Oct 22 17:00:05 2008 -0500 +++ b/hgext/mq.py Wed Oct 22 17:34:08 2008 -0500 @@ -2368,7 +2368,7 @@ def uisetup(ui): # override import to disallow importing over patch - importalias, importcmd = cmdutil.findcmd(ui, 'import', commands.table) + importalias, importcmd = cmdutil.findcmd('import', commands.table) for alias, cmd in commands.table.iteritems(): if cmd is importcmd: importkey = alias