hgext/inotify/server.py
changeset 7085 1fcc282e2c43
parent 7082 be81b4788115
child 7086 4033195d455b
--- a/hgext/inotify/server.py	Fri Oct 10 12:08:49 2008 -0500
+++ b/hgext/inotify/server.py	Sun Oct 12 15:21:08 2008 -0500
@@ -382,8 +382,8 @@
         # But it's easier to do nothing than to open that can of
         # worms.
 
-        if self.repo.dirstate.ignorefunc is not None:
-            self.repo.dirstate.ignorefunc = None
+        if '_ignore' in self.repo.dirstate.__dict__:
+            delattr(self.repo.dirstate, '_ignore')
             self.ui.note(_('rescanning due to .hgignore change\n'))
             self.scan()