mercurial/dagparser.py
changeset 49284 d44e3c45f0e4
parent 48875 6000f5b25c9b
child 51863 f4733654f144
--- a/mercurial/dagparser.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/dagparser.py	Sun May 29 15:17:27 2022 +0200
@@ -228,7 +228,7 @@
             c, digs = nextrun(nextch(), pycompat.bytestr(string.digits))
             # pytype: enable=wrong-arg-types
             n = int(digs)
-            for i in pycompat.xrange(0, n):
+            for i in range(0, n):
                 yield b'n', (r, [p1])
                 p1 = r
                 r += 1