path: directly use the push_variant in `infinitepush`
We don't need any extra processing now.
--- a/hgext/infinitepush/__init__.py Thu Dec 01 01:38:07 2022 +0100
+++ b/hgext/infinitepush/__init__.py Thu Dec 01 01:38:33 2022 +0100
@@ -849,7 +849,7 @@
raise error.Abort(msg)
path = paths[0]
- destpath = path.pushloc or path.loc
+ destpath = path.loc
# Remote scratch bookmarks will be deleted because remotenames doesn't
# know about them. Let's save it before push and restore after
remotescratchbookmarks = _readscratchremotebookmarks(ui, repo, destpath)