mercurial/revlog.py
branchstable
changeset 41310 ab0d762d89ef
parent 41302 c953c2a94d68
child 41312 189e06b2d719
child 41457 e2e815e3c4ae
equal deleted inserted replaced
41309:ee943a920606 41310:ab0d762d89ef
   899         """
   899         """
   900         if common is None:
   900         if common is None:
   901             common = [nullrev]
   901             common = [nullrev]
   902 
   902 
   903         if rustext is not None:
   903         if rustext is not None:
   904             # TODO: WdirUnsupported should be raised instead of GraphError
       
   905             # if common includes wdirrev
       
   906             return rustext.ancestor.MissingAncestors(self.index, common)
   904             return rustext.ancestor.MissingAncestors(self.index, common)
   907         return ancestor.incrementalmissingancestors(self.parentrevs, common)
   905         return ancestor.incrementalmissingancestors(self.parentrevs, common)
   908 
   906 
   909     def findmissingrevs(self, common=None, heads=None):
   907     def findmissingrevs(self, common=None, heads=None):
   910         """Return the revision numbers of the ancestors of heads that
   908         """Return the revision numbers of the ancestors of heads that