mercurial/simplemerge.py
changeset 49284 d44e3c45f0e4
parent 48981 f3aafd785e65
child 49956 2282d8ac0fa9
--- 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: