equal
deleted
inserted
replaced
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) |