D5551: rust-cpython: using MissingAncestors from Python code

gracinet (Georges Racinet) phabricator at mercurial-scm.org
Wed Jan 16 07:45:07 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa89b20a49c13: rust-cpython: using MissingAncestors from Python code (authored by gracinet, committed by ).

REPOSITORY
  rHG Mercurial

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

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