mercurial/repair.py
changeset 49284 d44e3c45f0e4
parent 48946 642e31cb55f0
child 50289 8011017629be
child 50313 7a017cd07a1e
--- a/mercurial/repair.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/repair.py	Sun May 29 15:17:27 2022 +0200
@@ -24,7 +24,6 @@
     obsutil,
     pathutil,
     phases,
-    pycompat,
     requirements,
     scmutil,
     util,
@@ -91,7 +90,7 @@
     """find out the filelogs affected by the strip"""
     files = set()
 
-    for x in pycompat.xrange(striprev, len(repo)):
+    for x in range(striprev, len(repo)):
         files.update(repo[x].files())
 
     return sorted(files)