mercurial/commands.py
changeset 6594 fca1688f0459
parent 6586 d3463007d368
child 6599 cd4db3999ef9
--- a/mercurial/commands.py	Mon May 12 11:37:08 2008 -0500
+++ b/mercurial/commands.py	Mon May 12 11:37:08 2008 -0500
@@ -2259,10 +2259,10 @@
         raise util.Abort(_("too many options specified"))
 
     ms = merge_.mergestate(repo)
-    mf = util.matcher(repo.root, "", pats, [], [])[1]
+    m = cmdutil.match(repo, pats, opts)
 
     for f in ms:
-        if mf(f):
+        if m(f):
             if opts.get("list"):
                 ui.write("%s %s\n" % (ms[f].upper(), f))
             elif opts.get("mark"):