mercurial/discovery.py
changeset 16657 b6081c2c4647
parent 16535 39d1f83eb05d
child 16683 525fdb738975
--- a/mercurial/discovery.py	Sat May 12 00:19:30 2012 +0200
+++ b/mercurial/discovery.py	Sat May 12 00:24:07 2012 +0200
@@ -105,7 +105,7 @@
     og.commonheads, _any, _hds = commoninc
 
     # compute outgoing
-    if not repo._phaseroots[phases.secret]:
+    if not repo._phasecache.phaseroots[phases.secret]:
         og.missingheads = onlyheads or repo.heads()
     elif onlyheads is None:
         # use visible heads as it should be cached