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)
--- 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: