changeset 25361:1635579f9baf

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.
author Laurent Charignon <lcharignon@fb.com>
date Fri, 29 May 2015 14:24:50 -0700
parents 7d24a41200d3
children 20ad936ac5d2
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Fri May 29 17:00:55 2015 -0500
+++ b/mercurial/revlog.py	Fri May 29 14:24:50 2015 -0700
@@ -726,7 +726,7 @@
             return self._headrevs()
 
     def computephases(self, roots):
-        return self.index.computephases(roots)
+        return self.index.computephasesmapsets(roots)
 
     def _headrevs(self):
         count = len(self)