mercurial/changegroup.py
changeset 29804 7b9157aa752f
parent 29757 976cd337cac9
child 29806 82e8c86cdd6d
equal deleted inserted replaced
29803:dab7069fc2bd 29804:7b9157aa752f
   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.