Show More
@@ -57,12 +57,10 b' from . import (' | |||
|
57 | 57 | ) |
|
58 | 58 | |
|
59 | 59 | release = lockmod.release |
|
60 | propertycache = util.propertycache | |
|
61 | 60 | urlerr = util.urlerr |
|
62 | 61 | urlreq = util.urlreq |
|
63 | filecache = scmutil.filecache | |
|
64 | 62 | |
|
65 | class repofilecache(filecache): | |
|
63 | class repofilecache(scmutil.filecache): | |
|
66 | 64 | """All filecache usage on repo are done for logic that should be unfiltered |
|
67 | 65 | """ |
|
68 | 66 | |
@@ -78,7 +76,7 b' class storecache(repofilecache):' | |||
|
78 | 76 | def join(self, obj, fname): |
|
79 | 77 | return obj.sjoin(fname) |
|
80 | 78 | |
|
81 | class unfilteredpropertycache(propertycache): | |
|
79 | class unfilteredpropertycache(util.propertycache): | |
|
82 | 80 | """propertycache that apply to unfiltered repo only""" |
|
83 | 81 | |
|
84 | 82 | def __get__(self, repo, type=None): |
@@ -87,7 +85,7 b' class unfilteredpropertycache(propertyca' | |||
|
87 | 85 | return super(unfilteredpropertycache, self).__get__(unfi) |
|
88 | 86 | return getattr(unfi, self.name) |
|
89 | 87 | |
|
90 | class filteredpropertycache(propertycache): | |
|
88 | class filteredpropertycache(util.propertycache): | |
|
91 | 89 | """propertycache that must take filtering in account""" |
|
92 | 90 | |
|
93 | 91 | def cachevalue(self, obj, value): |
General Comments 0
You need to be logged in to leave comments.
Login now