mercurial/localrepo.py
changeset 31283 f84b0e926eb2
parent 31282 b9228a2219ca
child 31319 42a7195541a1
equal deleted inserted replaced
31282:b9228a2219ca 31283:f84b0e926eb2
    69 class repofilecache(scmutil.filecache):
    69 class repofilecache(scmutil.filecache):
    70     """All filecache usage on repo are done for logic that should be unfiltered
    70     """All filecache usage on repo are done for logic that should be unfiltered
    71     """
    71     """
    72 
    72 
    73     def join(self, obj, fname):
    73     def join(self, obj, fname):
    74         return obj.join(fname)
    74         return obj.vfs.join(fname)
    75     def __get__(self, repo, type=None):
    75     def __get__(self, repo, type=None):
    76         if repo is None:
    76         if repo is None:
    77             return self
    77             return self
    78         return super(repofilecache, self).__get__(repo.unfiltered(), type)
    78         return super(repofilecache, self).__get__(repo.unfiltered(), type)
    79     def __set__(self, repo, value):
    79     def __set__(self, repo, value):