hgext/remotefilelog/datapack.py
changeset 49292 d44e3c45f0e4
parent 49004 f254fc73d956
child 51749 493034cc3265
--- a/hgext/remotefilelog/datapack.py	Sun May 29 12:38:54 2022 +0200
+++ b/hgext/remotefilelog/datapack.py	Sun May 29 15:17:27 2022 +0200
@@ -7,7 +7,6 @@
 )
 from mercurial.i18n import _
 from mercurial import (
-    pycompat,
     util,
 )
 from . import (
@@ -232,7 +231,7 @@
 
         # Scan forward to find the first non-same entry, which is the upper
         # bound.
-        for i in pycompat.xrange(fanoutkey + 1, params.fanoutcount):
+        for i in range(fanoutkey + 1, params.fanoutcount):
             end = fanout[i] + params.indexstart
             if end != start:
                 break