changeset 25593:9e551f155810

phase: invalidate the phase's set cache alongside the revs Invalidate was leaving set data around leading to possible bugs in revset.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 15 Jun 2015 15:57:47 -0700
parents dd2349ccfa66
children 186321309d05
files mercurial/phases.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.