diff hgext/mq.py @ 7297:bd6deb7525f4

mq: use cmdutil.matchfiles instead of match for qnew -f. Closes issue1368.
author Brendan Cully <brendan@kublai.com>
date Thu, 30 Oct 2008 12:38:24 -0700
parents 810ca383da9c
children 8e46e59aaf4c
line wrap: on
line diff
--- a/hgext/mq.py	Thu Oct 30 12:31:24 2008 -0700
+++ b/hgext/mq.py	Thu Oct 30 12:38:24 2008 -0700
@@ -661,7 +661,7 @@
             m, a, r, d = repo.status(match=match)[:4]
         else:
             m, a, r, d = self.check_localchanges(repo, force)
-            match = cmdutil.match(repo, m + a + r)
+            match = cmdutil.matchfiles(repo, m + a + r)
         commitfiles = m + a + r
         self.check_toppatch(repo)
         insert = self.full_series_end()