# HG changeset patch # User Brendan Cully # Date 2010-02-10 18:58:11 # Node ID 2e8926e9cc327bebef298ae85887dca5e2f88231 # Parent 6586a6889f6612bbaa2c2a48537d91b179d79adb mq: incorporate mq repo config when using --mq For example, incoming should use the paths defined in .hg/patches/hgrc instead of .hg/hgrc. diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -2660,7 +2660,7 @@ def mqcommand(orig, ui, repo, *args, **k 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"))]