diff 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
line wrap: on
line diff
--- a/hgext3rd/pullbundle.py	Thu Jul 11 12:19:49 2019 -0700
+++ b/hgext3rd/pullbundle.py	Thu Jul 11 14:16:48 2019 -0700
@@ -507,7 +507,7 @@
                   % (count, len(actionrevs)))
     if 1 < min_cache:
         repo.ui.write("  not caching ranges smaller than %d changesets\n" % min_cache)
-    for i in xrange(count):
+    for i in range(count):
         repo.ui.progress('gathering data', i, total=count)
         outgoing = takeonesample(repo, actionrevs)
         ranges = sliceoutgoing(repo, outgoing)