--- a/mercurial/simplemerge.py Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/simplemerge.py Sun May 29 15:17:27 2022 +0200
@@ -21,7 +21,6 @@
from . import (
error,
mdiff,
- pycompat,
)
from .utils import stringutil
@@ -53,9 +52,7 @@
"""Compare a[astart:aend] == b[bstart:bend], without slicing."""
if (aend - astart) != (bend - bstart):
return False
- for ia, ib in zip(
- pycompat.xrange(astart, aend), pycompat.xrange(bstart, bend)
- ):
+ for ia, ib in zip(range(astart, aend), range(bstart, bend)):
if a[ia] != b[ib]:
return False
else: