Skip to content
Snippets Groups Projects
Commit 6204fc81 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

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)
parent fb4d49c5
No related branches found
No related tags found
4 merge requests!1041Merge default into stable,!997tests: use shlex.quote instead of pipes.quote,!965branchmap improve performance of the v3 format,!963more fixes and improvements to branches related caches
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment