##// END OF EJS Templates
discovery: fix prepush documentation...
Pierre-Yves David -
r15893:eb6867b9 default
parent child Browse files
Show More
@@ -137,11 +137,9 b' def prepush(repo, remote, force, revs, n'
137 changesets need to be pushed to the remote. Return value depends
137 changesets need to be pushed to the remote. Return value depends
138 on circumstances:
138 on circumstances:
139
139
140 If we are not going to push anything, return a tuple (None,
140 If we are not going to push anything, return a tuple (None, 1,
141 outgoing, common) where outgoing is 0 if there are no outgoing
141 common) The third element "common" is the list of heads of the
142 changesets and 1 if there are, but we refuse to push them
142 common set between local and remote.
143 (e.g. would create new remote heads). The third element "common"
144 is the list of heads of the common set between local and remote.
145
143
146 Otherwise, return a tuple (changegroup, remoteheads, futureheads),
144 Otherwise, return a tuple (changegroup, remoteheads, futureheads),
147 where changegroup is a readable file-like object whose read()
145 where changegroup is a readable file-like object whose read()
General Comments 0
You need to be logged in to leave comments. Login now