Mercurial > hg
diff hgext/keyword.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 | 1b8e421d8e42 |
children | c1c719103392 |
line wrap: on
line diff
--- a/hgext/keyword.py Fri May 13 14:48:48 2011 -0500 +++ b/hgext/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'))