# HG changeset patch # User Laurent Charignon # Date 2015-05-29 21:24:50 # Node ID 1635579f9bafdd80b793f6ecb205d5eeb52e9977 # Parent 7d24a41200d32b48ff63638c9309877c2e187c91 phases: fix bug where native phase computation wasn't called I forgot to include this change as a previous diff and the native code to compute the phases was never called. The AttributeError was silently caught and the pure implementation was used instead. diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -726,7 +726,7 @@ class revlog(object): return self._headrevs() def computephases(self, roots): - return self.index.computephases(roots) + return self.index.computephasesmapsets(roots) def _headrevs(self): count = len(self)