path: directly use the push_variant in `hg histedit` outgoing logic
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 01 Dec 2022 01:38:07 +0100
changeset 49815 b8385bbeefdc
parent 49814 c55e70bed7eb
child 49816 a7985c822c09
path: directly use the push_variant in `hg histedit` outgoing logic We don't need any extra processing now.
hgext/histedit.py
--- a/hgext/histedit.py	Thu Dec 01 01:37:41 2022 +0100
+++ b/hgext/histedit.py	Thu Dec 01 01:38:07 2022 +0100
@@ -1051,7 +1051,7 @@
     if opts is None:
         opts = {}
     path = urlutil.get_unique_push_path(b'histedit', repo, ui, remote)
-    dest = path.pushloc or path.loc
+    dest = path.loc
 
     ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest))