mercurial/discovery.py
changeset 18382 f3b21beb9802
parent 18361 06f075836010
child 19840 b00ba31313c3
--- a/mercurial/discovery.py	Tue Jan 15 20:55:47 2013 +0100
+++ b/mercurial/discovery.py	Sun Jan 13 01:39:16 2013 -0600
@@ -115,7 +115,7 @@
         og.missingheads = onlyheads or repo.heads()
     elif onlyheads is None:
         # use visible heads as it should be cached
-        og.missingheads = repo.filtered("unserved").heads()
+        og.missingheads = repo.filtered("served").heads()
         og.excluded = [ctx.node() for ctx in repo.set('secret() or extinct()')]
     else:
         # compute common, missing and exclude secret stuff