equal
deleted
inserted
replaced
83 bcache = self._per_filter[repo.filtername] |
83 bcache = self._per_filter[repo.filtername] |
84 assert bcache._filtername == repo.filtername, ( |
84 assert bcache._filtername == repo.filtername, ( |
85 bcache._filtername, |
85 bcache._filtername, |
86 repo.filtername, |
86 repo.filtername, |
87 ) |
87 ) |
88 bcache.write(repo) |
88 if bcache._dirty: |
|
89 bcache.write(repo) |
89 |
90 |
90 def updatecache(self, repo): |
91 def updatecache(self, repo): |
91 """Update the cache for the given filtered view on a repository""" |
92 """Update the cache for the given filtered view on a repository""" |
92 # This can trigger updates for the caches for subsets of the filtered |
93 # This can trigger updates for the caches for subsets of the filtered |
93 # view, e.g. when there is no cache for this filtered view or the cache |
94 # view, e.g. when there is no cache for this filtered view or the cache |