Comments
Patch
@@ -37,11 +37,14 @@ class storecache(repofilecache):
class unfilteredpropertycache(propertycache):
"""propertycache that apply to unfiltered repo only"""
def __get__(self, repo, type=None):
- return super(unfilteredpropertycache, self).__get__(repo.unfiltered())
+ unfi = repo.unfiltered()
+ if unfi is repo:
+ return super(unfilteredpropertycache, self).__get__(unfi)
+ return getattr(unfi, self.name)
class filteredpropertycache(propertycache):
"""propertycache that must take filtering in account"""
def cachevalue(self, obj, value):