# HG changeset patch # User Pierre-Yves David # Date 1434409067 25200 # Node ID 9e551f155810b5351150434dafadcf30f06d0285 # Parent dd2349ccfa6686ec74b847044c5c04596f67edd5 phase: invalidate the phase's set cache alongside the revs Invalidate was leaving set data around leading to possible bugs in revset. diff -r dd2349ccfa66 -r 9e551f155810 mercurial/phases.py --- a/mercurial/phases.py Mon Jun 15 15:52:52 2015 -0700 +++ b/mercurial/phases.py Mon Jun 15 15:57:47 2015 -0700 @@ -209,6 +209,7 @@ def invalidate(self): self._phaserevs = None + self._phasesets = None def _populatephaseroots(self, repo): """Fills the _phaserevs cache with phases for the roots.