scmutil: drop aliases in cmdutil for match functions stable
authorMatt Mackall <mpm@selenic.com>
Fri, 13 May 2011 14:58:24 -0500
branchstable
changeset 940 4bd06014631e
parent 938 9e55adfb3a21
child 941 c5c61ae378de
child 942 92325072c4d4
scmutil: drop aliases in cmdutil for match functions [ original upstream message ]
hgkw/keyword.py
--- a/hgkw/keyword.py	Thu May 12 14:31:07 2011 +0200
+++ b/hgkw/keyword.py	Fri May 13 14:58:24 2011 -0500
@@ -326,7 +326,7 @@
     '''Bails out if [keyword] configuration is not active.
     Returns status of working directory.'''
     if kwt:
-        return repo.status(match=cmdutil.match(repo, pats, opts), clean=True,
+        return repo.status(match=scmutil.match(repo, pats, opts), clean=True,
                            unknown=opts.get('unknown') or opts.get('all'))
     if ui.configitems('keyword'):
         raise util.Abort(_('[keyword] patterns cannot match'))