equal
deleted
inserted
replaced
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()')] |