mercurial/revlog.py
changeset 49292 d44e3c45f0e4
parent 49263 63fd0282ad40
child 49314 2e726c934fcd
--- a/mercurial/revlog.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/revlog.py	Sun May 29 15:17:27 2022 +0200
@@ -743,7 +743,7 @@
         return len(self.index)
 
     def __iter__(self):
-        return iter(pycompat.xrange(len(self)))
+        return iter(range(len(self)))
 
     def revs(self, start=0, stop=None):
         """iterate over all rev in this revlog (from start to stop)"""