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 |
|
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