--- a/mercurial/setdiscovery.py Wed Jul 18 14:41:58 2012 +0200
+++ b/mercurial/setdiscovery.py Tue Jul 17 01:04:45 2012 +0200
@@ -9,7 +9,6 @@
from node import nullid
from i18n import _
import random, util, dagutil
-import phases
def _updatesample(dag, nodes, sample, always, quicksamplesize=0):
# if nodes is empty we scan the entire graph
@@ -100,7 +99,7 @@
sample = ownheads
if remote.local():
# stopgap until we have a proper localpeer that supports batch()
- srvheadhashes = phases.visibleheads(remote.local())
+ srvheadhashes = remote.heads()
yesno = remote.known(dag.externalizeall(sample))
elif remote.capable('batch'):
batch = remote.batch()