--- a/mercurial/minirst.py Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/minirst.py Sun May 29 15:17:27 2022 +0200
@@ -349,7 +349,7 @@
# position in bytes
columns = [
x
- for x in pycompat.xrange(len(div))
+ for x in range(len(div))
if div[x : x + 1] == b'=' and (x == 0 or div[x - 1 : x] == b' ')
]
rows = []
@@ -769,7 +769,7 @@
if llen and llen != plen:
collapse = False
s = []
- for j in pycompat.xrange(3, plen - 1):
+ for j in range(3, plen - 1):
parent = parents[j]
if j >= llen or lastparents[j] != parent:
s.append(len(blocks))