mercurial/dagparser.py
changeset 38783 e7aa113b14f7
parent 37084 f0b6fbea00cf
child 43076 2372284d9457
--- a/mercurial/dagparser.py	Wed Aug 01 12:57:15 2018 -0700
+++ b/mercurial/dagparser.py	Wed Aug 01 13:00:45 2018 -0700
@@ -222,7 +222,7 @@
         elif c == '+':
             c, digs = nextrun(nextch(), pycompat.bytestr(string.digits))
             n = int(digs)
-            for i in xrange(0, n):
+            for i in pycompat.xrange(0, n):
                 yield 'n', (r, [p1])
                 p1 = r
                 r += 1