# HG changeset patch # User Pierre-Yves David # Date 1434409702 25200 # Node ID 186321309d055a6a60942d90364e84320c679aeb # Parent 9e551f155810b5351150434dafadcf30f06d0285 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. diff -r 9e551f155810 -r 186321309d05 mercurial/phases.py --- 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):