hgext/record.py
changeset 14424 4eb88d296f63
parent 14408 054da1e0afbe
child 14425 e89534504fb9
--- a/hgext/record.py	Tue May 24 19:16:51 2011 +0300
+++ b/hgext/record.py	Tue May 24 19:17:02 2011 +0300
@@ -389,7 +389,10 @@
     except KeyError:
         raise util.Abort(_("'mq' extension not loaded"))
 
+    repo.mq.checkpatchname(patch)
+
     def committomq(ui, repo, *pats, **opts):
+        opts['checkname'] = False
         mq.new(ui, repo, patch, *pats, **opts)
 
     dorecord(ui, repo, committomq, 'qnew', *pats, **opts)