diff -r 389e2820280d -r 82e28c7be8fb hgext/inotify/__init__.py --- a/hgext/inotify/__init__.py Wed Apr 08 13:29:51 2009 +0900 +++ b/hgext/inotify/__init__.py Wed Apr 08 14:15:18 2009 +0900 @@ -58,7 +58,7 @@ if not ignored and not self.inotifyserver: result = client.query(ui, repo, files, match, False, clean, unknown) - if ui.config('inotify', 'debug'): + if result and ui.config('inotify', 'debug'): r2 = super(inotifydirstate, self).status( match, False, clean, unknown) for c,a,b in zip('LMARDUIC', result, r2):