# HG changeset patch # User Pierre-Yves David # Date 1433717397 25200 # Node ID 19717d3c8f941fdd92725ef1723f39edd981e543 # Parent 60f4e7022ffe03f409a8e7e01273f7ae70d66531 changegroup: remove 'getchangegroupraw' function There is no remaining caller for this function. diff -r 60f4e7022ffe -r 19717d3c8f94 mercurial/changegroup.py --- 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.