Mercurial > public > mercurial-scm > hg-stable
diff mercurial/streamclone.py @ 49292:d44e3c45f0e4
py3: replace `pycompat.xrange` by `range`
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 29 May 2022 15:17:27 +0200 |
parents | 4ff4e23de7df |
children | 97e91001a4e0 |
line wrap: on
line diff
--- 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: