mercurial/revlog.py
branchstable
changeset 41301 13c23396c7fe
parent 41286 00b314c42094
child 41303 c953c2a94d68
equal deleted inserted replaced
41300:66102f6fa10a 41301:13c23396c7fe
   894         """
   894         """
   895         if common is None:
   895         if common is None:
   896             common = [nullrev]
   896             common = [nullrev]
   897 
   897 
   898         if rustext is not None:
   898         if rustext is not None:
       
   899             # TODO: WdirUnsupported should be raised instead of GraphError
       
   900             # if common includes wdirrev
   899             return rustext.ancestor.MissingAncestors(self.index, common)
   901             return rustext.ancestor.MissingAncestors(self.index, common)
   900         return ancestor.incrementalmissingancestors(self.parentrevs, common)
   902         return ancestor.incrementalmissingancestors(self.parentrevs, common)
   901 
   903 
   902     def findmissingrevs(self, common=None, heads=None):
   904     def findmissingrevs(self, common=None, heads=None):
   903         """Return the revision numbers of the ancestors of heads that
   905         """Return the revision numbers of the ancestors of heads that