changeset 19140:10103caea69d

inotify: call match.explicitdir inotify only returns explicit directories matched.
author Siddharth Agarwal <sid0@fb.com>
date Sun, 28 Apr 2013 21:28:31 -0700
parents 31c863bd21e8
children aed8ec10c235
files hgext/inotify/client.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/inotify/client.py	Sun Apr 28 21:27:57 2013 -0700
+++ b/hgext/inotify/client.py	Sun Apr 28 21:28:31 2013 -0700
@@ -159,7 +159,7 @@
             vdirs = cs.read(nbytes)
             if vdirs:
                 for vdir in vdirs.split('\0'):
-                    match.dir(vdir)
+                    match.explicitdir(vdir)
 
         return results