##// END OF EJS Templates
discovery: fix docstring of `outgoing` class...
Manuel Jacob -
r45703:5631b011 default
parent child Browse files
Show More
@@ -75,18 +75,28 b' def findcommonincoming(repo, remote, hea'
75
75
76
76
77 class outgoing(object):
77 class outgoing(object):
78 '''Represents the set of nodes present in a local repo but not in a
78 '''Represents the result of a findcommonoutgoing() call.
79 (possibly) remote one.
80
79
81 Members:
80 Members:
82
81
83 missing is a list of all nodes present in local but not in remote.
82 ancestorsof is a list of the nodes whose ancestors are included in the
84 common is a list of all nodes shared between the two repos.
83 outgoing operation.
85 excluded is the list of missing changeset that shouldn't be sent remotely.
84
86 missingheads is the list of heads of missing.
85 missing is a list of those ancestors of ancestorsof that are present in
86 local but not in remote.
87
88 common is a set containing revs common between the local and the remote
89 repository (at least all of those that are ancestors of ancestorsof).
90
87 commonheads is the list of heads of common.
91 commonheads is the list of heads of common.
88
92
89 The sets are computed on demand from the heads, unless provided upfront
93 excluded is the list of missing changeset that shouldn't be sent
94 remotely.
95
96 missingheads is an alias to ancestorsof, but the name is wrong and it
97 will be removed
98
99 Some members are computed on demand from the heads, unless provided upfront
90 by discovery.'''
100 by discovery.'''
91
101
92 def __init__(
102 def __init__(
@@ -135,6 +145,10 b' class outgoing(object):'
135 self._computecommonmissing()
145 self._computecommonmissing()
136 return self._missing
146 return self._missing
137
147
148 @property
149 def ancestorsof(self):
150 return self.missingheads
151
138
152
139 def findcommonoutgoing(
153 def findcommonoutgoing(
140 repo, other, onlyheads=None, force=False, commoninc=None, portable=False
154 repo, other, onlyheads=None, force=False, commoninc=None, portable=False
General Comments 0
You need to be logged in to leave comments. Login now