comparison mercurial/localrepo.py @ 16624:3f85cef66dcc

phases: call filterunknown() in readroots() One less function manipulating localrepo state.
author Patrick Mezard <patrick@mezard.eu>
date Thu, 10 May 2012 18:21:15 +0200
parents ebf6d38c9063
children df9df747070d
comparison
equal deleted inserted replaced
16623:def6a19c3b4d 16624:3f85cef66dcc
183 183
184 @storecache('phaseroots') 184 @storecache('phaseroots')
185 def _phaseroots(self): 185 def _phaseroots(self):
186 self._dirtyphases = False 186 self._dirtyphases = False
187 phaseroots = phases.readroots(self) 187 phaseroots = phases.readroots(self)
188 phases.filterunknown(self, phaseroots)
189 return phaseroots 188 return phaseroots
190 189
191 @propertycache 190 @propertycache
192 def _phaserev(self): 191 def _phaserev(self):
193 cache = [phases.public] * len(self) 192 cache = [phases.public] * len(self)