##// END OF EJS Templates
inotify: inotify.server.walk() simplify control flow
Nicolas Dumazet -
r8325:f2559645 default
parent child Browse files
Show More
@@ -69,10 +69,9 def walk(repo, root):
69 69 for name, kind in osutil.listdir(fullpath):
70 70 if kind == stat.S_IFDIR:
71 71 if name == '.hg':
72 if reporoot:
73 continue
72 if not reporoot:
73 return
74 74 else:
75 return
76 75 dirs.append(name)
77 76 elif kind in (stat.S_IFREG, stat.S_IFLNK):
78 77 files.append((name, kind))
General Comments 0
You need to be logged in to leave comments. Login now