equal
deleted
inserted
replaced
2828 if tr is None or tr.changes[b'origrepolen'] < len(self): |
2828 if tr is None or tr.changes[b'origrepolen'] < len(self): |
2829 # accessing the 'served' branchmap should refresh all the others, |
2829 # accessing the 'served' branchmap should refresh all the others, |
2830 self.ui.debug(b'updating the branch cache\n') |
2830 self.ui.debug(b'updating the branch cache\n') |
2831 self.filtered(b'served').branchmap() |
2831 self.filtered(b'served').branchmap() |
2832 self.filtered(b'served.hidden').branchmap() |
2832 self.filtered(b'served.hidden').branchmap() |
|
2833 # flush all possibly delayed write. |
|
2834 self._branchcaches.write_delayed(self) |
2833 |
2835 |
2834 if repository.CACHE_CHANGELOG_CACHE in caches: |
2836 if repository.CACHE_CHANGELOG_CACHE in caches: |
2835 self.changelog.update_caches(transaction=tr) |
2837 self.changelog.update_caches(transaction=tr) |
2836 |
2838 |
2837 if repository.CACHE_MANIFESTLOG_CACHE in caches: |
2839 if repository.CACHE_MANIFESTLOG_CACHE in caches: |