##// END OF EJS Templates
changegroupsubset(): ancestors() is not inclusive, we need to remove the "heads"
Benoit Boissinot -
r11661:b16fb5d5 default
parent child Browse files
Show More
@@ -1398,6 +1398,8 b' class localrepository(repo.repository):'
1398 clnode = cl.node(revlog.linkrev(revlog.rev(n)))
1398 clnode = cl.node(revlog.linkrev(revlog.rev(n)))
1399 if clnode in has_cl_set:
1399 if clnode in has_cl_set:
1400 hasset.add(n)
1400 hasset.add(n)
1401 for n in hasset:
1402 missingnodes.pop(n, None)
1401 for r in revlog.ancestors(*[revlog.rev(n) for n in hasset]):
1403 for r in revlog.ancestors(*[revlog.rev(n) for n in hasset]):
1402 missingnodes.pop(revlog.node(r), None)
1404 missingnodes.pop(revlog.node(r), None)
1403
1405
General Comments 0
You need to be logged in to leave comments. Login now