mercurial/localrepo.py
branchstable
changeset 48677 8e5effbf52d0
parent 48674 f7086f6173f8
child 48681 e845537f6adb
equal deleted inserted replaced
48676:3f618484eeb6 48677:8e5effbf52d0
  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: