interfaces: add missing caches kwarg of localrepo.updatecaches()
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 27 Jan 2022 20:04:56 +0300
changeset 48710 bf3da4e02087
parent 48709 48cb4109b6f6
child 48711 fba2d7fab11e
interfaces: add missing caches kwarg of localrepo.updatecaches() Added to localrepo: in 1337bfaa88ca, added to the interface: now. Differential Revision: https://phab.mercurial-scm.org/D12092
mercurial/interfaces/repository.py
--- a/mercurial/interfaces/repository.py	Mon Jan 31 18:05:36 2022 +0300
+++ b/mercurial/interfaces/repository.py	Thu Jan 27 20:04:56 2022 +0300
@@ -1787,7 +1787,7 @@
         DANGEROUS.
         """
 
-    def updatecaches(tr=None, full=False):
+    def updatecaches(tr=None, full=False, caches=None):
         """Warm repo caches."""
 
     def invalidatecaches():