Patchwork D12092: interfaces: add missing caches kwarg of localrepo.updatecaches()

login
register
mail settings
Submitter phabricator
Date Jan. 27, 2022, 5:09 p.m.
Message ID <differential-rev-PHID-DREV-wob2tddeuhdtgwgra3si-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50418/
State New
Headers show

Comments

phabricator - Jan. 27, 2022, 5:09 p.m.
av6 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Added to localrepo: in 1337bfaa88ca <https://phab.mercurial-scm.org/rHG1337bfaa88cacd04cd7c254819471a777e401bf1>, added to the interface: now.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12092

AFFECTED FILES
  mercurial/interfaces/repository.py

CHANGE DETAILS




To: av6, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/interfaces/repository.py b/mercurial/interfaces/repository.py
--- a/mercurial/interfaces/repository.py
+++ b/mercurial/interfaces/repository.py
@@ -1787,7 +1787,7 @@ 
         DANGEROUS.
         """
 
-    def updatecaches(tr=None, full=False):
+    def updatecaches(tr=None, full=False, caches=None):
         """Warm repo caches."""
 
     def invalidatecaches():