mercurial/treediscovery.py
changeset 49284 d44e3c45f0e4
parent 49017 f054a557aab8
child 49401 362c0026a977
--- a/mercurial/treediscovery.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/treediscovery.py	Sun May 29 15:17:27 2022 +0200
@@ -12,7 +12,6 @@
 from .node import short
 from . import (
     error,
-    pycompat,
 )
 
 
@@ -116,7 +115,7 @@
             repo.ui.debug(
                 b"request %d: %s\n" % (reqcnt, b" ".join(map(short, r)))
             )
-            for p in pycompat.xrange(0, len(r), 10):
+            for p in range(0, len(r), 10):
                 with remote.commandexecutor() as e:
                     subset = r[p : p + 10]
                     if audit is not None: