mercurial/commands.py
changeset 49699 54e98a88542b
parent 49698 c9690836747d
child 49700 e3b997f57269
--- 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'):