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