# HG changeset patch # User Matt Mackall # Date 1305316704 18000 # Node ID 4bd06014631e7aaa86fdf24caaade1f4495054c7 # Parent 9e55adfb3a21fd2a1ab4fd654c706fbfaca4dd77 scmutil: drop aliases in cmdutil for match functions [ original upstream message ] diff -r 9e55adfb3a21 -r 4bd06014631e 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'))