mercurial/streamclone.py
changeset 49284 d44e3c45f0e4
parent 49190 4ff4e23de7df
child 50279 97e91001a4e0
--- a/mercurial/streamclone.py	Sun May 29 12:38:54 2022 +0200
+++ b/mercurial/streamclone.py	Sun May 29 15:17:27 2022 +0200
@@ -426,7 +426,7 @@
 
         with repo.transaction(b'clone'):
             with repo.svfs.backgroundclosing(repo.ui, expectedcount=filecount):
-                for i in pycompat.xrange(filecount):
+                for i in range(filecount):
                     # XXX doesn't support '\n' or '\r' in filenames
                     l = fp.readline()
                     try: