# HG changeset patch # User Pierre-Yves David # Date 1727277092 -7200 # Node ID 6204fc81a2912f4648dd12746eee0608463f0632 # Parent fb4d49c52c067b888e4a5f751e27e5226f1e7ba8 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) diff -r fb4d49c52c06 -r 6204fc81a291 mercurial/repoview.py --- 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: