path: directly use the push_variant in `hg push`
We don't need any extra processing now.
--- 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(