##// END OF EJS Templates
setdiscovery: remove initialsamplesize from a condition...
Martin von Zweigbergk -
r36733:bf485b70 default
parent child Browse files
Show More
@@ -175,7 +175,7 b' def findcommonheads(ui, local, remote,'
175 ui.debug("all remote heads known locally\n")
175 ui.debug("all remote heads known locally\n")
176 return (srvheadhashes, False, srvheadhashes,)
176 return (srvheadhashes, False, srvheadhashes,)
177
177
178 if sample and len(ownheads) <= initialsamplesize and all(yesno):
178 if len(sample) == len(ownheads) and all(yesno):
179 ui.note(_("all local heads known remotely\n"))
179 ui.note(_("all local heads known remotely\n"))
180 ownheadhashes = dag.externalizeall(ownheads)
180 ownheadhashes = dag.externalizeall(ownheads)
181 return (ownheadhashes, True, srvheadhashes,)
181 return (ownheadhashes, True, srvheadhashes,)
General Comments 0
You need to be logged in to leave comments. Login now