changeset 49284 | d44e3c45f0e4 |
parent 49227 | 2bcf5e14bb7e |
child 49306 | 2e726c934fcd |
--- 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 ]