phase: invalidate the phase's set cache alongside the revs
Invalidate was leaving set data around leading to possible bugs in revset.
--- 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.