hgext/inotify/__init__.py
changeset 10176 24ce8f0c0a39
parent 9855 f47c0881b16e
child 10264 d6512b3e9ac0
--- a/hgext/inotify/__init__.py	Thu Dec 31 16:30:34 2009 -0600
+++ b/hgext/inotify/__init__.py	Thu Dec 31 17:19:30 2009 -0600
@@ -42,11 +42,11 @@
         # to start an inotify server if it won't start.
         _inotifyon = True
 
-        def status(self, match, ignored, clean, unknown=True):
+        def status(self, match, subrepos, ignored, clean, unknown=True):
             files = match.files()
             if '.' in files:
                 files = []
-            if self._inotifyon and not ignored and not self._dirty:
+            if self._inotifyon and not ignored and not subrepos and not self._dirty:
                 cli = client(ui, repo)
                 try:
                     result = cli.statusquery(files, match, False,
@@ -70,7 +70,7 @@
                         result = r2
                     return result
             return super(inotifydirstate, self).status(
-                match, ignored, clean, unknown)
+                match, subrepos, ignored, clean, unknown)
 
     repo.dirstate.__class__ = inotifydirstate