inotify: call match.explicitdir
authorSiddharth Agarwal <sid0@fb.com>
Sun, 28 Apr 2013 21:28:31 -0700
changeset 19140 10103caea69d
parent 19139 31c863bd21e8
child 19141 aed8ec10c235
inotify: call match.explicitdir inotify only returns explicit directories matched.
hgext/inotify/client.py
--- 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