branch | stable |
changeset 11545 | db9d16233787 |
parent 10494 | 08064db9f005 |
child 11567 | 34cc8b84407f |
--- 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_