author | Matt Mackall <mpm@selenic.com> |
Mon, 12 May 2008 11:37:08 -0500 | |
changeset 6594 | fca1688f0459 |
parent 6593 | 58b6ee2e6c92 |
child 6595 | 99a92acafdb9 |
--- 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"):