Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
51567:530b4cffd6a6 | 51568:a03fa40afd01 |
---|---|
347 self._ui.warn(_(b"warning: %s\n") % msg) | 347 self._ui.warn(_(b"warning: %s\n") % msg) |
348 self._loweredfiles.add(fl) | 348 self._loweredfiles.add(fl) |
349 self._newfiles.add(f) | 349 self._newfiles.add(f) |
350 | 350 |
351 | 351 |
352 def filteredhash(repo, maxrev, needobsolete=False): | 352 def combined_filtered_and_obsolete_hash(repo, maxrev, needobsolete=False): |
353 """build hash of filtered revisions in the current repoview. | 353 """build hash of filtered revisions in the current repoview. |
354 | 354 |
355 Multiple caches perform up-to-date validation by checking that the | 355 Multiple caches perform up-to-date validation by checking that the |
356 tiprev and tipnode stored in the cache file match the current repository. | 356 tiprev and tipnode stored in the cache file match the current repository. |
357 However, this is not sufficient for validating repoviews because the set | 357 However, this is not sufficient for validating repoviews because the set |