Mercurial > hg
changeset 25594:186321309d05
phase: also overwrite phase's sets when replacing a phasecache
We need to copy this new attributes around too. This fix an issue where phases
data used by 'not public()' were not invalidated properly.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 15 Jun 2015 16:08:22 -0700 |
parents | 9e551f155810 |
children | a7dd6692e5cb |
files | mercurial/phases.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/phases.py Mon Jun 15 15:57:47 2015 -0700 +++ b/mercurial/phases.py Mon Jun 15 16:08:22 2015 -0700 @@ -171,7 +171,7 @@ return ph def replace(self, phcache): - for a in 'phaseroots dirty opener _phaserevs'.split(): + for a in 'phaseroots dirty opener _phaserevs _phasesets'.split(): setattr(self, a, getattr(phcache, a)) def _getphaserevsnative(self, repo):