Mercurial > hg
diff mercurial/localrepo.py @ 49284:d44e3c45f0e4
py3: replace `pycompat.xrange` by `range`
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 29 May 2022 15:17:27 +0200 |
parents | 2bcf5e14bb7e |
children | 2e726c934fcd |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/localrepo.py Sun May 29 15:17:27 2022 +0200 @@ -1885,7 +1885,7 @@ # wdirrev isn't contiguous so the slice shouldn't include it return [ self[i] - for i in pycompat.xrange(*changeid.indices(len(self))) + for i in range(*changeid.indices(len(self))) if i not in self.changelog.filteredrevs ]