diff -r e3b997f57269 -r 1470a533d28a mercurial/hg.py --- a/mercurial/hg.py Thu Dec 01 01:35:17 2022 +0100 +++ b/mercurial/hg.py Thu Dec 01 01:37:10 2022 +0100 @@ -1380,7 +1380,7 @@ out = set() others = [] for path in urlutil.get_push_paths(repo, ui, dests): - dest = path.pushloc or path.loc + dest = path.loc if subpath is not None: subpath = urlutil.url(subpath) if subpath.isabs():