Show More
@@ -2927,8 +2927,6 b' class localrepository:' | |||
|
2927 | 2927 | self.ui.debug(b'updating the branch cache\n') |
|
2928 | 2928 | self.filtered(b'served').branchmap() |
|
2929 | 2929 | self.filtered(b'served.hidden').branchmap() |
|
2930 | # flush all possibly delayed write. | |
|
2931 | self._branchcaches.write_delayed(self) | |
|
2932 | 2930 | |
|
2933 | 2931 | if repository.CACHE_CHANGELOG_CACHE in caches: |
|
2934 | 2932 | self.changelog.update_caches(transaction=tr) |
@@ -2975,6 +2973,9 b' class localrepository:' | |||
|
2975 | 2973 | filtered = self.filtered(filt) |
|
2976 | 2974 | self._branchcaches.update_disk(filtered) |
|
2977 | 2975 | |
|
2976 | # flush all possibly delayed write. | |
|
2977 | self._branchcaches.write_delayed(self) | |
|
2978 | ||
|
2978 | 2979 | def invalidatecaches(self): |
|
2979 | 2980 | if '_tagscache' in vars(self): |
|
2980 | 2981 | # can't use delattr on proxy |
General Comments 0
You need to be logged in to leave comments.
Login now