changeset 31292:f84b0e926eb2

repofilecache: directly use 'repo.vfs.join' The 'vfs' attribute already have all methods we need, the value of going through the repository for this is low. so we removes it.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 05 Aug 2016 14:25:21 +0200
parents b9228a2219ca
children 74cbbd5420ba
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Aug 05 14:23:58 2016 +0200
+++ b/mercurial/localrepo.py	Fri Aug 05 14:25:21 2016 +0200
@@ -71,7 +71,7 @@
     """
 
     def join(self, obj, fname):
-        return obj.join(fname)
+        return obj.vfs.join(fname)
     def __get__(self, repo, type=None):
         if repo is None:
             return self