mercurial/localrepo.py
branchstable
changeset 26405 c15d8f84343e
parent 25878 800e090e9c64
child 26409 19d946cf2a1b
equal deleted inserted replaced
26367:f31ddc9bfa5f 26405:c15d8f84343e
   427         for mark, n in self._bookmarks.iteritems():
   427         for mark, n in self._bookmarks.iteritems():
   428             if mark.split('@', 1)[0] == name:
   428             if mark.split('@', 1)[0] == name:
   429                 heads.append(n)
   429                 heads.append(n)
   430         return heads
   430         return heads
   431 
   431 
   432     @storecache('phaseroots')
   432     # _phaserevs and _phasesets depend on changelog. what we need is to
       
   433     # call _phasecache.invalidate() if '00changelog.i' was changed, but it
       
   434     # can't be easily expressed in filecache mechanism.
       
   435     @storecache('phaseroots', '00changelog.i')
   433     def _phasecache(self):
   436     def _phasecache(self):
   434         return phases.phasecache(self, self._phasedefaults)
   437         return phases.phasecache(self, self._phasedefaults)
   435 
   438 
   436     @storecache('obsstore')
   439     @storecache('obsstore')
   437     def obsstore(self):
   440     def obsstore(self):