# HG changeset patch # User Benoit Boissinot # Date 2010-10-17 20:24:26 # Node ID 8bac8cd43c8da298ce36a067a55f648e70ca53e0 # Parent 11c3c77da62a5ca709eb016291c98c8e399e8a01 discovery: findincoming() is no longer used diff --git a/mercurial/discovery.py b/mercurial/discovery.py --- a/mercurial/discovery.py +++ b/mercurial/discovery.py @@ -9,19 +9,6 @@ from node import nullid, short from i18n import _ import util, error -def findincoming(repo, remote, heads=None, force=False): - """Return list of roots of the subsets of missing nodes from remote - - If a list of heads is specified, return only nodes which are heads - or ancestors of these heads. - - All the ancestors of the list returned are in repo and in remote. - All the descendants of the list returned are missing in repo. - (and so we know that the rest of the nodes are missing in remote, see - outgoing) - """ - return findcommonincoming(repo, remote, heads, force)[1] - def findcommonincoming(repo, remote, heads=None, force=False): """Return a tuple (common, missing roots, heads) used to identify missing nodes from remote.