changeset 31334:b589f5b953f4

subrepo: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 08 Mar 2017 16:53:47 -0800
parents e712a9c35fd8
children f28f2ac65c66
files mercurial/subrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/subrepo.py	Wed Mar 08 16:53:39 2017 -0800
+++ b/mercurial/subrepo.py	Wed Mar 08 16:53:47 2017 -0800
@@ -678,7 +678,7 @@
 
     @propertycache
     def _cachestorehashvfs(self):
-        return vfsmod.vfs(self._repo.join('cache/storehash'))
+        return vfsmod.vfs(self._repo.vfs.join('cache/storehash'))
 
     def _readstorehashcache(self, remotepath):
         '''read the store hash cache for a given remote repository'''