changeset 2984:a9d7a43fb3f0

mq: fix bad interaction between demandload and update of commands.norepo problem was that commands.norepo was not updated properly.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 21 Aug 2006 13:59:17 -0700
parents 3b7626b861f8
children 4cdb68d7eb92
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"