Mercurial > public > mercurial-scm > hg-stable
diff hgext/remotefilelog/datapack.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 | f254fc73d956 |
children | 493034cc3265 |
line wrap: on
line diff
--- a/hgext/remotefilelog/datapack.py Sun May 29 12:38:54 2022 +0200 +++ b/hgext/remotefilelog/datapack.py Sun May 29 15:17:27 2022 +0200 @@ -7,7 +7,6 @@ ) from mercurial.i18n import _ from mercurial import ( - pycompat, util, ) from . import ( @@ -232,7 +231,7 @@ # Scan forward to find the first non-same entry, which is the upper # bound. - for i in pycompat.xrange(fanoutkey + 1, params.fanoutcount): + for i in range(fanoutkey + 1, params.fanoutcount): end = fanout[i] + params.indexstart if end != start: break