Mercurial > hg
changeset 25505:19717d3c8f94
changegroup: remove 'getchangegroupraw' function
There is no remaining caller for this function.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sun, 07 Jun 2015 15:49:57 -0700 |
parents | 60f4e7022ffe |
children | 86472038dfd2 |
files | mercurial/changegroup.py |
diffstat | 1 files changed, 0 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/changegroup.py Sun Jun 07 15:49:17 2015 -0700 +++ b/mercurial/changegroup.py Sun Jun 07 15:49:57 2015 -0700 @@ -634,22 +634,6 @@ heads = cl.heads() return discovery.outgoing(cl, common, heads) -def getchangegroupraw(repo, source, heads=None, common=None, bundlecaps=None, - version='01'): - """Like changegroupsubset, but returns the set difference between the - ancestors of heads and the ancestors common. - - If heads is None, use the local heads. If common is None, use [nullid]. - - If version is None, use a version '1' changegroup. - - The nodes in common might not all be known locally due to the way the - current discovery protocol works. Returns a raw changegroup generator. - """ - outgoing = computeoutgoing(repo, heads, common) - return getlocalchangegroupraw(repo, source, outgoing, bundlecaps=bundlecaps, - version=version) - def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None): """Like changegroupsubset, but returns the set difference between the ancestors of heads and the ancestors common.