##// END OF EJS Templates
ancestor: incrementalmissingancestors.basesheads()...
Georges Racinet -
r41280:4856c9b8 default
parent child Browse files
Show More
@@ -11,6 +11,7 b' import heapq'
11 11
12 12 from .node import nullrev
13 13 from . import (
14 dagop,
14 15 policy,
15 16 pycompat,
16 17 )
@@ -162,6 +163,9 b' class incrementalmissingancestors(object'
162 163 '''grow the ancestor set by adding new bases'''
163 164 self.bases.update(newbases)
164 165
166 def basesheads(self):
167 return dagop.headrevs(self.bases, self.pfunc)
168
165 169 def removeancestorsfrom(self, revs):
166 170 '''remove all ancestors of bases from the set revs (in place)'''
167 171 bases = self.bases
General Comments 0
You need to be logged in to leave comments. Login now