changeset 49811:54e98a88542b

path: directly use the push_variant in `hg outgoing` We don't need any extra processing now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:34:58 +0100
parents c9690836747d
children e3b997f57269
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Dec 01 01:34:26 2022 +0100
+++ b/mercurial/commands.py	Thu Dec 01 01:34:58 2022 +0100
@@ -5038,7 +5038,7 @@
     opts = pycompat.byteskwargs(opts)
     if opts.get(b'bookmarks'):
         for path in urlutil.get_push_paths(repo, ui, dests):
-            dest = path.pushloc or path.loc
+            dest = path.loc
             other = hg.peer(repo, opts, dest)
             try:
                 if b'bookmarks' not in other.listkeys(b'namespaces'):