subrepo: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:53:47 -0800
changeset 31325 b589f5b953f4
parent 31324 e712a9c35fd8
child 31326 f28f2ac65c66
subrepo: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
mercurial/subrepo.py
--- 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'''