mercurial/discovery.py
changeset 18283 ac25d75970c8
parent 18282 595bd4c5b135
child 18284 e4be4e2ac814
--- a/mercurial/discovery.py	Sat Jan 05 18:57:09 2013 +0100
+++ b/mercurial/discovery.py	Sun Jan 06 04:48:22 2013 +0100
@@ -115,7 +115,7 @@
         og.missingheads = onlyheads or repo.heads()
     elif onlyheads is None:
         # use visible heads as it should be cached
-        og.missingheads = visibleheads(repo)
+        og.missingheads = repo.filtered("unserved").heads()
         og.excluded = [ctx.node() for ctx in repo.set('secret() or extinct()')]
     else:
         # compute common, missing and exclude secret stuff