equal
deleted
inserted
replaced
983 common = [n for n in common if hasnode(n)] |
983 common = [n for n in common if hasnode(n)] |
984 else: |
984 else: |
985 common = [nullid] |
985 common = [nullid] |
986 if not heads: |
986 if not heads: |
987 heads = cl.heads() |
987 heads = cl.heads() |
988 return discovery.outgoing(cl, common, heads) |
988 return discovery.outgoing(repo, common, heads) |
989 |
989 |
990 def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None, |
990 def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None, |
991 version='01'): |
991 version='01'): |
992 """Like changegroupsubset, but returns the set difference between the |
992 """Like changegroupsubset, but returns the set difference between the |
993 ancestors of heads and the ancestors common. |
993 ancestors of heads and the ancestors common. |