# HG changeset patch # User Pierre-Yves David # Date 1669854866 -3600 # Node ID c9690836747dc32e57c5c4a6a7e5fc1d16e47b63 # Parent 1fae401b3b147236928b614cdf598001f027cb93 path: directly use the push_variant in `hg push` We don't need any extra processing now. diff -r 1fae401b3b14 -r c9690836747d mercurial/commands.py --- a/mercurial/commands.py Thu Dec 01 01:33:27 2022 +0100 +++ b/mercurial/commands.py Thu Dec 01 01:34:26 2022 +0100 @@ -5766,7 +5766,7 @@ some_pushed = False result = 0 for path in urlutil.get_push_paths(repo, ui, dests): - dest = path.pushloc or path.loc + dest = path.loc branches = (path.branch, opts.get(b'branch') or []) ui.status(_(b'pushing to %s\n') % urlutil.hidepassword(dest)) revs, checkout = hg.addbranchrevs(