##// END OF EJS Templates
discovery: findincoming() is no longer used
Benoit Boissinot -
r12762:8bac8cd4 default
parent child Browse files
Show More
@@ -9,19 +9,6 b' from node import nullid, short'
9 from i18n import _
9 from i18n import _
10 import util, error
10 import util, error
11
11
12 def findincoming(repo, remote, heads=None, force=False):
13 """Return list of roots of the subsets of missing nodes from remote
14
15 If a list of heads is specified, return only nodes which are heads
16 or ancestors of these heads.
17
18 All the ancestors of the list returned are in repo and in remote.
19 All the descendants of the list returned are missing in repo.
20 (and so we know that the rest of the nodes are missing in remote, see
21 outgoing)
22 """
23 return findcommonincoming(repo, remote, heads, force)[1]
24
25 def findcommonincoming(repo, remote, heads=None, force=False):
12 def findcommonincoming(repo, remote, heads=None, force=False):
26 """Return a tuple (common, missing roots, heads) used to identify
13 """Return a tuple (common, missing roots, heads) used to identify
27 missing nodes from remote.
14 missing nodes from remote.
General Comments 0
You need to be logged in to leave comments. Login now