diff hgext/inotify/__init__.py @ 8557:67f76a4463ef

inotify: Removing the unnecessary "inotifyserver" class variable.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Fri, 08 May 2009 12:19:57 +0900
parents f5fae700cc00
children 284fda4cd093
line wrap: on
line diff
--- a/hgext/inotify/__init__.py	Wed May 06 01:40:03 2009 +0900
+++ b/hgext/inotify/__init__.py	Fri May 08 12:19:57 2009 +0900
@@ -59,9 +59,6 @@
     repo = proxy(repo)
 
     class inotifydirstate(repo.dirstate.__class__):
-        # Set to True if we're the inotify server, so we don't attempt
-        # to recurse.
-        inotifyserver = False
 
         # We'll set this to false after an unsuccessful attempt so that
         # next calls of status() within the same instance don't try again
@@ -72,7 +69,7 @@
             files = match.files()
             if '.' in files:
                 files = []
-            if self._inotifyon and not ignored and not self.inotifyserver:
+            if self._inotifyon and not ignored:
                 cli = client(ui, repo)
                 try:
                     result = cli.statusquery(files, match, False,