[PATCH 5 of 8] inotify: call match.explicitdir

Siddharth Agarwal sid0 at fb.com
Fri May 3 17:05:46 CDT 2013


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1367209711 25200
#      Sun Apr 28 21:28:31 2013 -0700
# Node ID 7a1c5a9314866b55d51306182cae047d66c74151
# Parent  666d434c93e57741c306d75e8711e246b9794631
inotify: call match.explicitdir

inotify only returns explicit directories matched.

diff -r 666d434c93e5 -r 7a1c5a931486 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 @@ class client(object):
             vdirs = cs.read(nbytes)
             if vdirs:
                 for vdir in vdirs.split('\0'):
-                    match.dir(vdir)
+                    match.explicitdir(vdir)
 
         return results
 


More information about the Mercurial-devel mailing list