Show More
@@ -39,6 +39,8 b' class unfilteredpropertycache(propertyca' | |||||
39 | """propertycache that apply to unfiltered repo only""" |
|
39 | """propertycache that apply to unfiltered repo only""" | |
40 |
|
40 | |||
41 | def __get__(self, repo, type=None): |
|
41 | def __get__(self, repo, type=None): | |
|
42 | if hasunfilteredcache(repo, self.name): | |||
|
43 | return getattr(repo.unfiltered(), self.name) | |||
42 | return super(unfilteredpropertycache, self).__get__(repo.unfiltered()) |
|
44 | return super(unfilteredpropertycache, self).__get__(repo.unfiltered()) | |
43 |
|
45 | |||
44 | class filteredpropertycache(propertycache): |
|
46 | class filteredpropertycache(propertycache): |
General Comments 0
You need to be logged in to leave comments.
Login now