# HG changeset patch # User Idan Kamara # Date 2011-05-27 14:49:54 # Node ID 7d367e8f892dcd6009da2974b7decc64fef106ec # Parent f63b7fb4b5f690d9035ccc873c13290c8113770d mq: allow --mq for qrecord diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -3269,7 +3269,7 @@ def uisetup(ui): entry = extensions.wrapcommand(commands.table, 'init', mqinit) entry[1].extend(mqopt) - nowrap = set(commands.norepo.split(" ") + ['qrecord']) + nowrap = set(commands.norepo.split(" ")) def dotable(cmdtable): for cmd in cmdtable.keys(): diff --git a/tests/test-qrecord.t b/tests/test-qrecord.t --- a/tests/test-qrecord.t +++ b/tests/test-qrecord.t @@ -136,6 +136,7 @@ help (mq present) -X --exclude PATTERN [+] exclude names matching the given patterns -m --message TEXT use text as commit message -l --logfile FILE read commit message from file + --mq operate on patch repository [+] marked option can be specified multiple times