mercurial/obsolete.py
changeset 49284 d44e3c45f0e4
parent 49248 63fd0282ad40
child 49300 227124098e14
--- a/mercurial/obsolete.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/obsolete.py	Sun May 29 15:17:27 2022 +0200
@@ -397,7 +397,7 @@
         off = o3 + metasize * nummeta
         metapairsize = unpack(b'>' + (metafmt * nummeta), data[o3:off])
         metadata = []
-        for idx in pycompat.xrange(0, len(metapairsize), 2):
+        for idx in range(0, len(metapairsize), 2):
             o1 = off + metapairsize[idx]
             o2 = o1 + metapairsize[idx + 1]
             metadata.append((data[off:o1], data[o1:o2]))