# HG changeset patch # User Matt Mackall # Date 1223842868 18000 # Node ID 1fcc282e2c4361e80bf724f9479d634a8f3399a8 # Parent f5c18a581b8ba0ea0256b5bae18634a7e4530a64 inotify: fixup rebuilding ignore diff -r f5c18a581b8b -r 1fcc282e2c43 hgext/inotify/server.py --- 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()