Comments
Patch
@@ -784,8 +784,7 @@
latest = iterrevs.pop()
if latest not in bheadrevs:
continue
- ancestors = set(self.changelog.ancestors([latest],
- bheadrevs[0]))
+ ancestors = self.changelog.ancestorset([latest], bheadrevs[0])
if ancestors:
bheadrevs = [b for b in bheadrevs if b not in ancestors]
partial[branch] = [self.changelog.node(rev) for rev in bheadrevs]
@@ -2078,7 +2077,7 @@
bases = [nullid]
csets, bases, heads = cl.nodesbetween(bases, heads)
# We assume that all ancestors of bases are known
- common = set(cl.ancestors([cl.rev(n) for n in bases]))
+ common = cl.ancestorset([cl.rev(n) for n in bases])
return self._changegroupsubset(common, csets, heads, source)
def getlocalbundle(self, source, outgoing):