branch | stable |
changeset 14981 | 192e02680d09 |
parent 14833 | 308e1b5acc87 |
child 15063 | c20688b7c061 |
--- a/mercurial/setdiscovery.py Thu Jul 28 14:36:07 2011 +0900 +++ b/mercurial/setdiscovery.py Wed Jul 27 18:32:54 2011 -0400 @@ -190,4 +190,5 @@ ui.warn(_("warning: repository is unrelated\n")) return (set([nullid]), True, srvheadhashes,) - return (dag.externalizeall(result), True, srvheadhashes,) + anyincoming = (srvheadhashes != [nullid]) + return dag.externalizeall(result), anyincoming, srvheadhashes