match: remove files arg from repo.status and friends stable
authorMatt Mackall <mpm@selenic.com>
Mon, 12 May 2008 11:37:08 -0500
branchstable
changeset 449 78a819b57dcc
parent 448 6c06944ba344
child 450 86c17b3e9100
match: remove files arg from repo.status and friends [ original upstream message ]
hgkw/keyword.py
--- a/hgkw/keyword.py	Mon May 12 11:37:08 2008 -0500
+++ b/hgkw/keyword.py	Mon May 12 11:37:08 2008 -0500
@@ -258,7 +258,7 @@
     Returns status of working directory.'''
     if kwt:
         matcher = cmdutil.match(repo, pats, opts)
-        return repo.status(files=matcher.files(), match=matcher, list_clean=True)
+        return repo.status(match=matcher, list_clean=True)
     if ui.configitems('keyword'):
         raise util.Abort(_('[keyword] patterns cannot match'))
     raise util.Abort(_('no [keyword] patterns configured'))
@@ -458,7 +458,7 @@
             return kwt.wread(filename, data)
 
         def commit(self, files=None, text='', user=None, date=None,
-                   match=util.always, force=False, force_editor=False,
+                   match=None, force=False, force_editor=False,
                    p1=None, p2=None, extra={}, empty_ok=False):
             wlock = lock = None
             _p1 = _p2 = None