diff hgext/inotify/__init__.py @ 6603:41eb20cc1c02

match: remove files arg from repo.status and friends
author Matt Mackall <mpm@selenic.com>
date Mon, 12 May 2008 11:37:08 -0500
parents 39cfcef4f463
children ed5ffb2c12f3
line wrap: on
line diff
--- a/hgext/inotify/__init__.py	Mon May 12 11:37:08 2008 -0500
+++ b/hgext/inotify/__init__.py	Mon May 12 11:37:08 2008 -0500
@@ -47,8 +47,9 @@
         # to recurse.
         inotifyserver = False
 
-        def status(self, files, match, list_ignored, list_clean,
+        def status(self, match, list_ignored, list_clean,
                    list_unknown=True):
+            files = match.files()
             try:
                 if not list_ignored and not self.inotifyserver:
                     result = client.query(ui, repo, files, match, False,
@@ -88,7 +89,7 @@
                             ui.print_exc()
 
             return super(inotifydirstate, self).status(
-                files, match or util.always, list_ignored, list_clean,
+                match, list_ignored, list_clean,
                 list_unknown)
 
     repo.dirstate.__class__ = inotifydirstate