##// END OF EJS Templates
inotify: inotify.server.walk*() cleanup...
Nicolas Dumazet -
r8323:589a82fb default
parent child Browse files
Show More
@@ -41,7 +41,8 b' def walkrepodirs(repo):'
41 if kind == stat.S_IFDIR:
41 if kind == stat.S_IFDIR:
42 if name == '.hg':
42 if name == '.hg':
43 hginside = True
43 hginside = True
44 if not top: break
44 if not top:
45 return
45 else:
46 else:
46 d = join(dirname, name)
47 d = join(dirname, name)
47 if repo.dirstate._ignore(d):
48 if repo.dirstate._ignore(d):
@@ -76,7 +77,7 b' def walk(repo, root):'
76 if reporoot:
77 if reporoot:
77 continue
78 continue
78 else:
79 else:
79 break
80 return
80 dirs.append(name)
81 dirs.append(name)
81 elif kind in (stat.S_IFREG, stat.S_IFLNK):
82 elif kind in (stat.S_IFREG, stat.S_IFLNK):
82 files.append((name, kind))
83 files.append((name, kind))
General Comments 0
You need to be logged in to leave comments. Login now