Mercurial > hg
changeset 49403:ac4fda5d3ccd stable
debug-discovery: do not abort on unrelated repositories
This is a useful case to consider, so we should not abort in this case.
A warning is still issued.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 26 Jul 2022 10:39:27 +0200 |
parents | 236702592ff0 |
children | c6aac50038bb |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Tue Jul 26 10:34:20 2022 +0200 +++ b/mercurial/debugcommands.py Tue Jul 26 10:39:27 2022 +0200 @@ -1302,7 +1302,12 @@ revs = logcmdutil.revrange(repo, pushedrevs) nodes = [repo[r].node() for r in revs] common, any, hds = setdiscovery.findcommonheads( - ui, repo, remote, ancestorsof=nodes, audit=data + ui, + repo, + remote, + ancestorsof=nodes, + audit=data, + abortwhenunrelated=False, ) return common, hds