comparison hgext/inotify/__init__.py @ 7393:92c952c4470c

inotify: fix status . in repo.root
author Brendan Cully <brendan@kublai.com>
date Wed, 19 Nov 2008 13:00:48 -0800
parents fd4bf5269733
children cf7741aa1e96
comparison
equal deleted inserted replaced
7392:564326a6ef9c 7393:92c952c4470c
50 # to recurse. 50 # to recurse.
51 inotifyserver = False 51 inotifyserver = False
52 52
53 def status(self, match, ignored, clean, unknown=True): 53 def status(self, match, ignored, clean, unknown=True):
54 files = match.files() 54 files = match.files()
55 if '.' in files:
56 files = []
55 try: 57 try:
56 if not ignored and not self.inotifyserver: 58 if not ignored and not self.inotifyserver:
57 result = client.query(ui, repo, files, match, False, 59 result = client.query(ui, repo, files, match, False,
58 clean, unknown) 60 clean, unknown)
59 if ui.config('inotify', 'debug'): 61 if ui.config('inotify', 'debug'):