changeset 51400 | 2e10ddbb9faa |
parent 50427 | f95ab2c53303 |
child 51605 | b70628a9aa7e |
--- a/mercurial/discovery.py Tue Feb 20 14:21:18 2024 +0100 +++ b/mercurial/discovery.py Tue Feb 20 17:17:54 2024 +0100 @@ -168,7 +168,7 @@ og.commonheads, _any, _hds = commoninc # compute outgoing - mayexclude = repo._phasecache.phaseroots[phases.secret] or repo.obsstore + mayexclude = phases.hassecret(repo) or repo.obsstore if not mayexclude: og.ancestorsof = onlyheads or repo.heads() elif onlyheads is None: