hgkw/keyword.py
branchstable
changeset 447 b739aa437c57
parent 445 0c91995647e9
child 448 6c06944ba344
--- 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'))