mercurial/streamclone.py
changeset 38783 e7aa113b14f7
parent 38374 800f5a2c869e
child 39700 b10d145837bc
--- a/mercurial/streamclone.py	Wed Aug 01 12:57:15 2018 -0700
+++ b/mercurial/streamclone.py	Wed Aug 01 13:00:45 2018 -0700
@@ -358,7 +358,7 @@
 
         with repo.transaction('clone'):
             with repo.svfs.backgroundclosing(repo.ui, expectedcount=filecount):
-                for i in xrange(filecount):
+                for i in pycompat.xrange(filecount):
                     # XXX doesn't support '\n' or '\r' in filenames
                     l = fp.readline()
                     try: