Show More
@@ -931,8 +931,14 b' class dirstate(object):' | |||||
931 | # We may not have walked the full directory tree above, |
|
931 | # We may not have walked the full directory tree above, | |
932 | # so stat and check everything we missed. |
|
932 | # so stat and check everything we missed. | |
933 | nf = iter(visit).next |
|
933 | nf = iter(visit).next | |
934 | for st in util.statfiles([join(i) for i in visit]): |
|
934 | pos = 0 | |
935 | results[nf()] = st |
|
935 | while pos < len(visit): | |
|
936 | # visit in mid-sized batches so that we don't | |||
|
937 | # block signals indefinitely | |||
|
938 | xr = xrange(pos, min(len(visit), pos + 1000)) | |||
|
939 | for st in util.statfiles([join(visit[n]) for n in xr]): | |||
|
940 | results[nf()] = st | |||
|
941 | pos += 1000 | |||
936 | return results |
|
942 | return results | |
937 |
|
943 | |||
938 | def status(self, match, subrepos, ignored, clean, unknown): |
|
944 | def status(self, match, subrepos, ignored, clean, unknown): |
General Comments 0
You need to be logged in to leave comments.
Login now