# HG changeset patch # User Matt Mackall # Date 1210610228 18000 # Node ID 78a819b57dcc5d1e0ae5d095c98b8fec237e761f # Parent 6c06944ba344c3a7f24e2db43bd9f081a18d75cb match: remove files arg from repo.status and friends [ original upstream message ] diff -r 6c06944ba344 -r 78a819b57dcc 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