D5551: rust-cpython: using MissingAncestors from Python code

gracinet (Georges Racinet) phabricator at mercurial-scm.org
Mon Jan 14 21:15:06 EST 2019


gracinet updated this revision to Diff 13219.
gracinet edited the summary of this revision.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5551?vs=13129&id=13219

REVISION DETAIL
  https://phab.mercurial-scm.org/D5551

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -893,6 +893,8 @@
         if common is None:
             common = [nullrev]
 
+        if rustext is not None:
+            return rustext.ancestor.MissingAncestors(self.index, common)
         return ancestor.incrementalmissingancestors(self.parentrevs, common)
 
     def findmissingrevs(self, common=None, heads=None):



To: gracinet, indygreg, #hg-reviewers
Cc: yuja, lothiraldan, mercurial-devel


More information about the Mercurial-devel mailing list