mercurial/discovery.py
changeset 16657 b6081c2c4647
parent 16535 39d1f83eb05d
child 16683 525fdb738975
equal deleted inserted replaced
16656:4ae3ba9e4d7a 16657:b6081c2c4647
   103     if commoninc is None:
   103     if commoninc is None:
   104         commoninc = findcommonincoming(repo, other, force=force)
   104         commoninc = findcommonincoming(repo, other, force=force)
   105     og.commonheads, _any, _hds = commoninc
   105     og.commonheads, _any, _hds = commoninc
   106 
   106 
   107     # compute outgoing
   107     # compute outgoing
   108     if not repo._phaseroots[phases.secret]:
   108     if not repo._phasecache.phaseroots[phases.secret]:
   109         og.missingheads = onlyheads or repo.heads()
   109         og.missingheads = onlyheads or repo.heads()
   110     elif onlyheads is None:
   110     elif onlyheads is None:
   111         # use visible heads as it should be cached
   111         # use visible heads as it should be cached
   112         og.missingheads = phases.visibleheads(repo)
   112         og.missingheads = phases.visibleheads(repo)
   113         og.excluded = [ctx.node() for ctx in repo.set('secret()')]
   113         og.excluded = [ctx.node() for ctx in repo.set('secret()')]