changeset 49702:c55e70bed7eb

path: directly use the push_variant in the `outgoing` revset We don't need any extra processing now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:37:41 +0100
parents 1470a533d28a
children b8385bbeefdc
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Thu Dec 01 01:37:10 2022 +0100
+++ b/mercurial/revset.py	Thu Dec 01 01:37:41 2022 +0100
@@ -1869,7 +1869,7 @@
         dests = []
     missing = set()
     for path in urlutil.get_push_paths(repo, repo.ui, dests):
-        dest = path.pushloc or path.loc
+        dest = path.loc
         branches = path.branch, []
 
         revs, checkout = hg.addbranchrevs(repo, repo, branches, [])