Submitter | Katsunori FUJIWARA |
---|---|
Date | May 28, 2014, 3 p.m. |
Message ID | <7ece02ee1e7207b7894a.1401289215@juju> |
Download | mbox | patch |
Permalink | /patch/4885/ |
State | Superseded |
Commit | 115af8de76a4942a87071b1a5fe19787e612948a |
Headers | show |
Comments
Patch
diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -556,6 +556,10 @@ class hgsubrepo(abstractsubrepo): return self._repo.join(os.path.join( 'cache', 'storehash', _getstorehashcachename(remotepath))) + @propertycache + def _cachestorehashvfs(self): + return scmutil.vfs(self._repo.join('cache/storehash')) + def _readstorehashcache(self, remotepath): '''read the store hash cache for a given remote repository''' cachefile = self._getstorehashcachepath(remotepath)