diff 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
line wrap: on
line diff
--- a/hgext/inotify/__init__.py	Wed Nov 19 13:27:57 2008 +0100
+++ b/hgext/inotify/__init__.py	Wed Nov 19 13:00:48 2008 -0800
@@ -52,6 +52,8 @@
 
         def status(self, match, ignored, clean, unknown=True):
             files = match.files()
+            if '.' in files:
+                files = [] 
             try:
                 if not ignored and not self.inotifyserver:
                     result = client.query(ui, repo, files, match, False,