mercurial/localrepo.py
changeset 15456 abcaaf51d568
parent 15455 c6f87bdab2a1
child 15483 9ae766f2f452
equal deleted inserted replaced
15455:c6f87bdab2a1 15456:abcaaf51d568
   172       bookmarks.write(self)
   172       bookmarks.write(self)
   173 
   173 
   174     @filecache('phaseroots')
   174     @filecache('phaseroots')
   175     def _phaseroots(self):
   175     def _phaseroots(self):
   176         self._dirtyphases = False
   176         self._dirtyphases = False
   177         return phases.readroots(self)
   177         phaseroots = phases.readroots(self)
       
   178         phases.filterunknown(self, phaseroots)
       
   179         return phaseroots
   178 
   180 
   179     @propertycache
   181     @propertycache
   180     def _phaserev(self):
   182     def _phaserev(self):
   181         cache = [0] * len(self)
   183         cache = [0] * len(self)
   182         for phase in phases.trackedphases:
   184         for phase in phases.trackedphases: