mercurial/hgweb/webcommands.py
changeset 49284 d44e3c45f0e4
parent 48946 642e31cb55f0
child 49846 fda5a4b853ab
--- a/mercurial/hgweb/webcommands.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/hgweb/webcommands.py	Sun May 29 15:17:27 2022 +0200
@@ -228,7 +228,7 @@
 
         def revgen():
             cl = web.repo.changelog
-            for i in pycompat.xrange(len(web.repo) - 1, 0, -100):
+            for i in range(len(web.repo) - 1, 0, -100):
                 l = []
                 for j in cl.revs(max(0, i - 99), i):
                     ctx = web.repo[j]