hgext/inotify/__init__.py
changeset 10605 3077ee5ca750
parent 10493 283f3b413f19
child 11321 40c06bbf58be
equal deleted inserted replaced
10604:9a36d159595f 10605:3077ee5ca750
    39         # We'll set this to false after an unsuccessful attempt so that
    39         # We'll set this to false after an unsuccessful attempt so that
    40         # next calls of status() within the same instance don't try again
    40         # next calls of status() within the same instance don't try again
    41         # to start an inotify server if it won't start.
    41         # to start an inotify server if it won't start.
    42         _inotifyon = True
    42         _inotifyon = True
    43 
    43 
    44         def status(self, match, subrepos, ignored, clean, unknown=True):
    44         def status(self, match, subrepos, ignored, clean, unknown):
    45             files = match.files()
    45             files = match.files()
    46             if '.' in files:
    46             if '.' in files:
    47                 files = []
    47                 files = []
    48             if self._inotifyon and not ignored and not subrepos and not self._dirty:
    48             if self._inotifyon and not ignored and not subrepos and not self._dirty:
    49                 cli = client(ui, repo)
    49                 cli = client(ui, repo)