changeset 14448:7d367e8f892d

mq: allow --mq for qrecord
author Idan Kamara <idankk86@gmail.com>
date Fri, 27 May 2011 17:49:54 +0300
parents f63b7fb4b5f6
children 7d171c05a631
files hgext/mq.py tests/test-qrecord.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Fri May 27 17:46:48 2011 +0300
+++ b/hgext/mq.py	Fri May 27 17:49:54 2011 +0300
@@ -3269,7 +3269,7 @@
     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():
--- a/tests/test-qrecord.t	Fri May 27 17:46:48 2011 +0300
+++ b/tests/test-qrecord.t	Fri May 27 17:49:54 2011 +0300
@@ -136,6 +136,7 @@
    -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