Skip to content
Snippets Groups Projects
Commit af266368 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

dirstate: back out 502b56a9e897

Superseded by the parent of this commit.
parent f9f2f29c
No related branches found
No related tags found
No related merge requests found
......@@ -1008,14 +1008,8 @@
# We may not have walked the full directory tree above,
# so stat and check everything we missed.
nf = iter(visit).next
pos = 0
while pos < len(visit):
# visit in mid-sized batches so that we don't
# block signals indefinitely
xr = xrange(pos, min(len(visit), pos + 1000))
for st in util.statfiles([join(visit[n]) for n in xr]):
results[nf()] = st
pos += 1000
for st in util.statfiles([join(i) for i in visit]):
results[nf()] = st
return results
def status(self, match, subrepos, ignored, clean, unknown):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment