##// 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 from .node import nullrev
12 from .node import nullrev
13 from . import (
13 from . import (
14 dagop,
14 policy,
15 policy,
15 pycompat,
16 pycompat,
16 )
17 )
@@ -162,6 +163,9 b' class incrementalmissingancestors(object'
162 '''grow the ancestor set by adding new bases'''
163 '''grow the ancestor set by adding new bases'''
163 self.bases.update(newbases)
164 self.bases.update(newbases)
164
165
166 def basesheads(self):
167 return dagop.headrevs(self.bases, self.pfunc)
168
165 def removeancestorsfrom(self, revs):
169 def removeancestorsfrom(self, revs):
166 '''remove all ancestors of bases from the set revs (in place)'''
170 '''remove all ancestors of bases from the set revs (in place)'''
167 bases = self.bases
171 bases = self.bases
General Comments 0
You need to be logged in to leave comments. Login now