# HG changeset patch # User Pierre-Yves David # Date 2022-12-01 00:38:33 # Node ID a7985c822c09c50bd3c8fe80ca05837e4c335f6e # Parent b8385bbeefdc89854986f5f201f9f0ca886e9ac5 path: directly use the push_variant in `infinitepush` We don't need any extra processing now. diff --git a/hgext/infinitepush/__init__.py b/hgext/infinitepush/__init__.py --- a/hgext/infinitepush/__init__.py +++ b/hgext/infinitepush/__init__.py @@ -849,7 +849,7 @@ def _push(orig, ui, repo, *dests, **opts 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)