hgext/remotefilelog/shallowbundle.py
changeset 49284 d44e3c45f0e4
parent 48875 6000f5b25c9b
--- a/hgext/remotefilelog/shallowbundle.py	Sun May 29 12:38:54 2022 +0200
+++ b/hgext/remotefilelog/shallowbundle.py	Sun May 29 15:17:27 2022 +0200
@@ -13,7 +13,6 @@
     error,
     match,
     mdiff,
-    pycompat,
 )
 from . import (
     constants,
@@ -43,7 +42,7 @@
     nodelist.insert(0, p)
 
     # build deltas
-    for i in pycompat.xrange(len(nodelist) - 1):
+    for i in range(len(nodelist) - 1):
         prev, curr = nodelist[i], nodelist[i + 1]
         linknode = lookup(curr)
         for c in self.nodechunk(rlog, curr, prev, linknode):