##// END OF EJS Templates
scmutil: speed up new-style range extension...
Bryan O'Sullivan -
r17037:41996612 default
parent child Browse files
Show More
@@ -584,10 +584,9 b' def revrange(repo, revs):'
584 584
585 585 # fall through to new-style queries if old-style fails
586 586 m = revset.match(repo.ui, spec)
587 for r in m(repo, range(len(repo))):
588 if r not in seen:
589 l.append(r)
590 seen.update(l)
587 dl = [r for r in m(repo, xrange(len(repo))) if r not in seen]
588 l.extend(dl)
589 seen.update(dl)
591 590
592 591 return l
593 592
General Comments 0
You need to be logged in to leave comments. Login now