hgext/convert/cvsps.py
changeset 38783 e7aa113b14f7
parent 38295 bec815f991b0
child 41532 bd3f03d8cc9f
--- a/hgext/convert/cvsps.py	Wed Aug 01 12:57:15 2018 -0700
+++ b/hgext/convert/cvsps.py	Wed Aug 01 13:00:45 2018 -0700
@@ -763,7 +763,7 @@
             # branchpoints such that it is the latest possible
             # commit without any intervening, unrelated commits.
 
-            for candidate in xrange(i):
+            for candidate in pycompat.xrange(i):
                 if c.branch not in changesets[candidate].branchpoints:
                     if p is not None:
                         break