changeset 24520 | 34e8bfc21f94 |
parent 24519 | de3acfabaddc |
child 24599 | 2a73829ebe17 |
--- a/mercurial/phases.py Mon Mar 30 12:48:15 2015 -0700 +++ b/mercurial/phases.py Mon Mar 30 12:57:55 2015 -0700 @@ -195,7 +195,11 @@ def getphaserevs(self, repo): if self._phaserevs is None: try: - self._phaserevs = self.getphaserevsnative(repo) + if repo.ui.configbool('experimental', + 'nativephaseskillswitch'): + self.computephaserevspure(repo) + else: + self._phaserevs = self.getphaserevsnative(repo) except AttributeError: self.computephaserevspure(repo) return self._phaserevs