mq: fix bad interaction between demandload and update of commands.norepo
problem was that commands.norepo was not updated properly.
--- a/hgext/mq.py Mon Aug 21 11:05:43 2006 -0700
+++ b/hgext/mq.py Mon Aug 21 13:59:17 2006 -0700
@@ -31,8 +31,9 @@
from mercurial.demandload import *
from mercurial.i18n import gettext as _
+from mercurial import commands
demandload(globals(), "os sys re struct traceback errno bz2")
-demandload(globals(), "mercurial:cmdutil,commands,hg,patch,revlog,ui,util")
+demandload(globals(), "mercurial:cmdutil,hg,patch,revlog,ui,util")
commands.norepo += " qclone qversion"