path: directly use the push_variant in `hg outgoing`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 01 Dec 2022 01:34:58 +0100
changeset 49699 54e98a88542b
parent 49698 c9690836747d
child 49700 e3b997f57269
path: directly use the push_variant in `hg outgoing` We don't need any extra processing now.
mercurial/commands.py
--- 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'):