diff -r be5e86c80628 -r db9d16233787 hgext/inotify/server.py --- a/hgext/inotify/server.py Fri Jul 02 15:05:21 2010 +0900 +++ b/hgext/inotify/server.py Tue Jul 06 22:22:18 2010 -0300 @@ -213,7 +213,9 @@ if time != int(st_mtime): return 'l' return 'n' - if type_ == '?' and self.dirstate._ignore(fn): + if type_ == '?' and self.dirstate._dirignore(fn): + # we must check not only if the file is ignored, but if any part + # of its path match an ignore pattern return 'i' return type_