mercurial/discovery.py
branchstable
changeset 15955 5a14f48d6b9a
parent 15951 bd84fc0b5f64
child 15986 ba959f6e10f8
--- a/mercurial/discovery.py	Fri Jan 20 19:23:53 2012 +0100
+++ b/mercurial/discovery.py	Fri Jan 20 19:41:18 2012 +0100
@@ -124,8 +124,7 @@
                 missing.append(node)
         if excluded:
             # update missing heads
-            rset = repo.set('heads(%ln)', missing)
-            missingheads = [ctx.node() for ctx in rset]
+            missingheads = phases.newheads(repo, onlyheads, excluded)
         else:
             missingheads = onlyheads
         og.missingheads = missingheads