Mercurial > evolve
comparison hgext3rd/pullbundle.py @ 4737:46c990705a96
py3: replace xrange() by range()
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 11 Jul 2019 14:16:48 -0700 |
parents | 7d4c80c3f386 |
children | 22ffbbba695d |
comparison
equal
deleted
inserted
replaced
4736:9e0d35d2f7d4 | 4737:46c990705a96 |
---|---|
505 | 505 |
506 repo.ui.write("gathering %d sample pulls within %d revisions\n" | 506 repo.ui.write("gathering %d sample pulls within %d revisions\n" |
507 % (count, len(actionrevs))) | 507 % (count, len(actionrevs))) |
508 if 1 < min_cache: | 508 if 1 < min_cache: |
509 repo.ui.write(" not caching ranges smaller than %d changesets\n" % min_cache) | 509 repo.ui.write(" not caching ranges smaller than %d changesets\n" % min_cache) |
510 for i in xrange(count): | 510 for i in range(count): |
511 repo.ui.progress('gathering data', i, total=count) | 511 repo.ui.progress('gathering data', i, total=count) |
512 outgoing = takeonesample(repo, actionrevs) | 512 outgoing = takeonesample(repo, actionrevs) |
513 ranges = sliceoutgoing(repo, outgoing) | 513 ranges = sliceoutgoing(repo, outgoing) |
514 hitranges = 0 | 514 hitranges = 0 |
515 hitchanges = 0 | 515 hitchanges = 0 |