# HG changeset patch # User Matt Mackall # Date 1210610227 18000 # Node ID b739aa437c577b1c549701292d5ab6248d5344af # Parent 0c91995647e954b557b1e25ac494b95041d91585 walk: remove remaining users of cmdutils.matchpats [ original message from upstream ] diff -r 0c91995647e9 -r b739aa437c57 hgkw/keyword.py --- a/hgkw/keyword.py Thu Apr 10 01:46:06 2008 +0200 +++ b/hgkw/keyword.py Mon May 12 11:37:07 2008 -0500 @@ -257,8 +257,8 @@ '''Bails out if [keyword] configuration is not active. Returns status of working directory.''' if kwt: - files, match, anypats = cmdutil.matchpats(repo, pats, opts) - return repo.status(files=files, match=match, list_clean=True) + matcher = cmdutil.match(repo, pats, opts) + return repo.status(files=matcher.files(), match=matcher, list_clean=True) if ui.configitems('keyword'): raise util.Abort(_('[keyword] patterns cannot match')) raise util.Abort(_('no [keyword] patterns configured'))