path: directly use the push_variant in outgoing internals
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 01 Dec 2022 01:37:10 +0100
changeset 49701 1470a533d28a
parent 49700 e3b997f57269
child 49702 c55e70bed7eb
path: directly use the push_variant in outgoing internals We don't need any extra processing now.
mercurial/hg.py
--- 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():