Mercurial > public > mercurial-scm > hg-stable
diff mercurial/treediscovery.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 | f054a557aab8 |
children | 362c0026a977 |
line wrap: on
line diff
--- 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: