Patchwork D6748: hgit: define invalidatecaches for gitstore()

login
register
mail settings
Submitter phabricator
Date Aug. 20, 2019, 3:01 p.m.
Message ID <differential-rev-PHID-DREV-fj5jbd5nyu3lt5kxmwlu-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/41357/
State Superseded
Headers show

Comments

phabricator - Aug. 20, 2019, 3:01 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/git/__init__.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/git/__init__.py b/hgext/git/__init__.py
--- a/hgext/git/__init__.py
+++ b/hgext/git/__init__.py
@@ -71,6 +71,9 @@ 
         # TODO handle storenarrowmatch and figure out if we need the repo arg
         return gitlog.manifestlog(self.git, self._db)
 
+    def invalidatecaches(self):
+        pass
+
 def _makestore(orig, requirements, storebasepath, vfstype):
     if (os.path.exists(os.path.join(storebasepath, 'this-is-git'))
         and os.path.exists(os.path.join(storebasepath, '..', '.git'))):