changeset 15713 | cff25e4b37d2 |
parent 15652 | ca6accdad79c |
child 15925 | f9fc46698352 |
--- a/mercurial/wireproto.py Thu Dec 22 00:40:46 2011 +0100 +++ b/mercurial/wireproto.py Thu Dec 22 00:42:25 2011 +0100 @@ -10,6 +10,7 @@ from node import bin, hex import changegroup as changegroupmod import repo, error, encoding, util, store +import phases # abstract batching support @@ -449,7 +450,7 @@ return streamres(proto.groupchunks(cg)) def heads(repo, proto): - h = repo.heads() + h = phases.visibleheads(repo) return encodelist(h) + "\n" def hello(repo, proto):