mercurial/phases.py
changeset 25614 6c48f012d37e
parent 25613 a13c18c14ade
child 25624 f0745da75056
equal deleted inserted replaced
25613:a13c18c14ade 25614:6c48f012d37e
   170         ph._phasesets = self._phasesets
   170         ph._phasesets = self._phasesets
   171         return ph
   171         return ph
   172 
   172 
   173     def replace(self, phcache):
   173     def replace(self, phcache):
   174         """replace all values in 'self' with content of phcache"""
   174         """replace all values in 'self' with content of phcache"""
   175         for a in 'phaseroots dirty opener _phaserevs _phasesets'.split():
   175         for a in ('phaseroots', 'dirty', 'opener', '_phaserevs', '_phasesets'):
   176             setattr(self, a, getattr(phcache, a))
   176             setattr(self, a, getattr(phcache, a))
   177 
   177 
   178     def _getphaserevsnative(self, repo):
   178     def _getphaserevsnative(self, repo):
   179         repo = repo.unfiltered()
   179         repo = repo.unfiltered()
   180         nativeroots = []
   180         nativeroots = []