diff mercurial/scmutil.py @ 51568:a03fa40afd01

filteredhash: rename the filteredhash function The new name is less ambiguous, as we are about to introduce an alternative function it seems like a good idea to have clearer name to distinct the two.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2024 01:53:52 +0100
parents 530b4cffd6a6
children 4141d12de073
line wrap: on
line diff
--- a/mercurial/scmutil.py	Wed Mar 06 01:43:51 2024 +0100
+++ b/mercurial/scmutil.py	Wed Mar 06 01:53:52 2024 +0100
@@ -349,7 +349,7 @@
         self._newfiles.add(f)
 
 
-def filteredhash(repo, maxrev, needobsolete=False):
+def combined_filtered_and_obsolete_hash(repo, maxrev, needobsolete=False):
     """build hash of filtered revisions in the current repoview.
 
     Multiple caches perform up-to-date validation by checking that the