Submitter | Pierre-Yves David |
---|---|
Date | June 17, 2015, 2:09 a.m. |
Message ID | <18cc713258b6240bc054.1434506960@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/9688/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/phases.py b/mercurial/phases.py --- a/mercurial/phases.py +++ b/mercurial/phases.py @@ -169,10 +169,11 @@ class phasecache(object): ph._phaserevs = self._phaserevs ph._phasesets = self._phasesets return ph def replace(self, phcache): + """replace all values in 'self' with content of phcache""" for a in 'phaseroots dirty opener _phaserevs _phasesets'.split(): setattr(self, a, getattr(phcache, a)) def _getphaserevsnative(self, repo): repo = repo.unfiltered()