##// END OF EJS Templates
scmutil: seen.union should be seen.update (issue3476)
Bryan O'Sullivan -
r16814:9da5a286 stable
parent child Browse files
Show More
@@ -568,7 +568,7 b' def revrange(repo, revs):'
568 newrevs = set(xrange(start, end + step, step))
568 newrevs = set(xrange(start, end + step, step))
569 if seen:
569 if seen:
570 newrevs.difference_update(seen)
570 newrevs.difference_update(seen)
571 seen.union(newrevs)
571 seen.update(newrevs)
572 else:
572 else:
573 seen = newrevs
573 seen = newrevs
574 l.extend(sorted(newrevs, reverse=start > end))
574 l.extend(sorted(newrevs, reverse=start > end))
General Comments 0
You need to be logged in to leave comments. Login now