##// END OF EJS Templates
discovery: limit 'all local heads known remotely' to real 'all' (issue4438)...
Mads Kiilerich -
r23191:86c35b7a stable
parent child Browse files
Show More
@@ -165,7 +165,7 b' def findcommonheads(ui, local, remote,'
165 ui.debug("all remote heads known locally\n")
165 ui.debug("all remote heads known locally\n")
166 return (srvheadhashes, False, srvheadhashes,)
166 return (srvheadhashes, False, srvheadhashes,)
167
167
168 if sample and util.all(yesno):
168 if sample and len(ownheads) <= initialsamplesize and util.all(yesno):
169 ui.note(_("all local heads known remotely\n"))
169 ui.note(_("all local heads known remotely\n"))
170 ownheadhashes = dag.externalizeall(ownheads)
170 ownheadhashes = dag.externalizeall(ownheads)
171 return (ownheadhashes, True, srvheadhashes,)
171 return (ownheadhashes, True, srvheadhashes,)
General Comments 0
You need to be logged in to leave comments. Login now