changeset 17191 | 5884812686f7 |
parent 16834 | cafd8a8fb713 |
child 17204 | 4feb55e6931f |
--- a/mercurial/setdiscovery.py Fri Jul 06 14:12:42 2012 -0500 +++ b/mercurial/setdiscovery.py Fri Jul 13 21:46:53 2012 +0200 @@ -100,7 +100,7 @@ sample = ownheads if remote.local(): # stopgap until we have a proper localpeer that supports batch() - srvheadhashes = phases.visibleheads(remote) + srvheadhashes = phases.visibleheads(remote.local()) yesno = remote.known(dag.externalizeall(sample)) elif remote.capable('batch'): batch = remote.batch()