Show More
@@ -190,4 +190,5 b' def findcommonheads(ui, local, remote,' | |||
|
190 | 190 | ui.warn(_("warning: repository is unrelated\n")) |
|
191 | 191 | return (set([nullid]), True, srvheadhashes,) |
|
192 | 192 | |
|
193 | return (dag.externalizeall(result), True, srvheadhashes,) | |
|
193 | anyincoming = (srvheadhashes != [nullid]) | |
|
194 | return dag.externalizeall(result), anyincoming, srvheadhashes |
@@ -465,3 +465,16 b' limit to 3 changesets' | |||
|
465 | 465 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
466 | 466 | summary: 11 |
|
467 | 467 | |
|
468 | ||
|
469 | incoming from empty remote repository | |
|
470 | ||
|
471 | $ hg init r1 | |
|
472 | $ hg init r2 | |
|
473 | $ echo a > r1/foo | |
|
474 | $ hg -R r1 ci -Ama | |
|
475 | adding foo | |
|
476 | $ hg -R r1 incoming r2 --bundle x.hg | |
|
477 | comparing with r2 | |
|
478 | searching for changes | |
|
479 | no changes found | |
|
480 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now