Mercurial > hg
changeset 26984:af2663680e95
dirstate: back out 502b56a9e897
Superseded by the parent of this commit.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 17 Nov 2015 13:47:16 -0800 |
parents | f9f2f29ce023 |
children | 039a53c87370 |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dirstate.py Tue Nov 17 13:47:14 2015 -0800 +++ b/mercurial/dirstate.py Tue Nov 17 13:47:16 2015 -0800 @@ -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):