mercurial/localrepo.py
changeset 29373 36fbd72c2f39
parent 29352 37c7f9fb7040
child 29417 526b027b0130
equal deleted inserted replaced
29372:0b5e9a625042 29373:36fbd72c2f39
    64 class repofilecache(scmutil.filecache):
    64 class repofilecache(scmutil.filecache):
    65     """All filecache usage on repo are done for logic that should be unfiltered
    65     """All filecache usage on repo are done for logic that should be unfiltered
    66     """
    66     """
    67 
    67 
    68     def __get__(self, repo, type=None):
    68     def __get__(self, repo, type=None):
       
    69         if repo is None:
       
    70             return self
    69         return super(repofilecache, self).__get__(repo.unfiltered(), type)
    71         return super(repofilecache, self).__get__(repo.unfiltered(), type)
    70     def __set__(self, repo, value):
    72     def __set__(self, repo, value):
    71         return super(repofilecache, self).__set__(repo.unfiltered(), value)
    73         return super(repofilecache, self).__set__(repo.unfiltered(), value)
    72     def __delete__(self, repo):
    74     def __delete__(self, repo):
    73         return super(repofilecache, self).__delete__(repo.unfiltered())
    75         return super(repofilecache, self).__delete__(repo.unfiltered())