changeset 12762:8bac8cd43c8d

discovery: findincoming() is no longer used
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 17 Oct 2010 22:24:26 +0200
parents 11c3c77da62a
children 93c4da6c4416
files mercurial/discovery.py
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/discovery.py	Sun Oct 17 19:25:35 2010 +0200
+++ b/mercurial/discovery.py	Sun Oct 17 22:24:26 2010 +0200
@@ -9,19 +9,6 @@
 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.