Mercurial > hg-stable
changeset 7085:1fcc282e2c43
inotify: fixup rebuilding ignore
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 12 Oct 2008 15:21:08 -0500 |
parents | f5c18a581b8b |
children | 4033195d455b |
files | hgext/inotify/server.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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()