equal
deleted
inserted
replaced
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 = [] |