Mercurial > public > mercurial-scm > hg-stable
diff hgext/extdiff.py @ 14322:a90131b85fd8
scmutil: drop aliases in cmdutil for match functions
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 13 May 2011 14:58:24 -0500 |
parents | b33f3e35efb0 |
children | d943412e2fba |
line wrap: on
line diff
--- a/hgext/extdiff.py Fri May 13 14:48:48 2011 -0500 +++ b/hgext/extdiff.py Fri May 13 14:58:24 2011 -0500 @@ -62,7 +62,7 @@ from mercurial.i18n import _ from mercurial.node import short, nullid -from mercurial import cmdutil, scmutil, util, commands, encoding +from mercurial import scmutil, scmutil, util, commands, encoding import os, shlex, shutil, tempfile, re def snapshot(ui, repo, files, node, tmproot): @@ -137,7 +137,7 @@ if node1b == nullid: do3way = False - matcher = cmdutil.match(repo, pats, opts) + matcher = scmutil.match(repo, pats, opts) mod_a, add_a, rem_a = map(set, repo.status(node1a, node2, matcher)[:3]) if do3way: mod_b, add_b, rem_b = map(set, repo.status(node1b, node2, matcher)[:3])