mercurial/localrepo.py
changeset 26408 2b31d8636f25
parent 26323 ed884807dc48
child 26409 19d946cf2a1b
equal deleted inserted replaced
26407:72bccc1f26b1 26408:2b31d8636f25
   432         for mark, n in self._bookmarks.iteritems():
   432         for mark, n in self._bookmarks.iteritems():
   433             if mark.split('@', 1)[0] == name:
   433             if mark.split('@', 1)[0] == name:
   434                 heads.append(n)
   434                 heads.append(n)
   435         return heads
   435         return heads
   436 
   436 
   437     @storecache('phaseroots')
   437     # _phaserevs and _phasesets depend on changelog. what wee need is to
       
   438     # call _phasecache.invalidate() if '00changelog.i' was changed, but it
       
   439     # can't be easily expressed in filecache mechanism.
       
   440     @storecache('phaseroots', '00changelog.i')
   438     def _phasecache(self):
   441     def _phasecache(self):
   439         return phases.phasecache(self, self._phasedefaults)
   442         return phases.phasecache(self, self._phasedefaults)
   440 
   443 
   441     @storecache('obsstore')
   444     @storecache('obsstore')
   442     def obsstore(self):
   445     def obsstore(self):