##// END OF EJS Templates
ancestor: add a way to test whether a missing ancestor object has bases...
Siddharth Agarwal -
r23340:83225aff default
parent child Browse files
Show More
@@ -146,6 +146,10 b' class incrementalmissingancestors(object'
146 self.bases.add(nullrev)
146 self.bases.add(nullrev)
147 self.pfunc = pfunc
147 self.pfunc = pfunc
148
148
149 def hasbases(self):
150 '''whether the common set has any non-trivial bases'''
151 return self.bases and self.bases != set([nullrev])
152
149 def missingancestors(self, revs):
153 def missingancestors(self, revs):
150 '''return all the ancestors of revs that are not ancestors of self.bases
154 '''return all the ancestors of revs that are not ancestors of self.bases
151
155
General Comments 0
You need to be logged in to leave comments. Login now