# HG changeset patch # User Pierre-Yves David # Date 2022-12-01 00:37:10 # Node ID 1470a533d28aff7eda31d4fe6c1ba501253dd022 # Parent e3b997f572699d48178fae84c20bc19b71ab1dd5 path: directly use the push_variant in outgoing internals We don't need any extra processing now. diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -1380,7 +1380,7 @@ def _outgoing(ui, repo, dests, opts, sub out = set() others = [] for path in urlutil.get_push_paths(repo, ui, dests): - dest = path.pushloc or path.loc + dest = path.loc if subpath is not None: subpath = urlutil.url(subpath) if subpath.isabs():