# HG changeset patch # User Pierre-Yves David # Date 2016-08-05 12:25:21 # Node ID f84b0e926eb21efb49f32221be655f650f7c1d4d # Parent b9228a2219ca30e3448ada3ed8c36848f4b2b49f 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. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -71,7 +71,7 @@ class repofilecache(scmutil.filecache): """ 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