hgext/mq.py
changeset 10407 2e8926e9cc32
parent 10402 d216fa04e48a
child 10410 b59fba37e5e6
--- a/hgext/mq.py	Tue Feb 09 01:12:29 2010 +0100
+++ b/hgext/mq.py	Wed Feb 10 10:58:11 2010 -0800
@@ -2660,7 +2660,7 @@
     r = q.qrepo()
     if not r:
         raise util.Abort('no queue repository')
-    return orig(ui, r, *args, **kwargs)
+    return orig(r.ui, r, *args, **kwargs)
 
 def uisetup(ui):
     mqopt = [('Q', 'mq', None, _("operate on patch repository"))]