changeset 49815:b8385bbeefdc

path: directly use the push_variant in `hg histedit` outgoing logic We don't need any extra processing now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:38:07 +0100
parents c55e70bed7eb
children a7985c822c09
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))