changeset 49701:1470a533d28a

path: directly use the push_variant in outgoing internals We don't need any extra processing now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:37:10 +0100
parents e3b997f57269
children c55e70bed7eb
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Thu Dec 01 01:35:17 2022 +0100
+++ b/mercurial/hg.py	Thu Dec 01 01:37:10 2022 +0100
@@ -1380,7 +1380,7 @@
     out = set()
     others = []
     for path in urlutil.get_push_paths(repo, ui, dests):
-        dest = path.pushloc or path.loc
+        dest = path.loc
         if subpath is not None:
             subpath = urlutil.url(subpath)
             if subpath.isabs():