Mercurial > hg-stable
changeset 51997:6204fc81a291
head-revs: stop calling headrevsfiltered
The `headrevs` method have been accepting filter since Mercurial 3.2ยน. I guess
we can rely on it for now.
(except the Rust extension that just gained this capability, but it has it now)
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 25 Sep 2024 17:11:32 +0200 |
parents | fb4d49c52c06 |
children | 8060257fd918 |
files | mercurial/repoview.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repoview.py Wed Sep 25 21:43:21 2024 +0200 +++ b/mercurial/repoview.py Wed Sep 25 17:11:32 2024 +0200 @@ -313,7 +313,7 @@ def headrevs(self, revs=None): if revs is None: try: - return self.index.headrevsfiltered(self.filteredrevs) + return self.index.headrevs(self.filteredrevs) # AttributeError covers non-c-extension environments and # old c extensions without filter handling. except AttributeError: