mercurial/commands.py
changeset 49708 0df2cff04291
parent 49700 e3b997f57269
child 49709 459e311f5581
--- a/mercurial/commands.py	Wed Nov 30 19:43:26 2022 +0100
+++ b/mercurial/commands.py	Thu Dec 01 01:57:14 2022 +0100
@@ -1635,7 +1635,7 @@
         missing = set()
         excluded = set()
         for path in urlutil.get_push_paths(repo, ui, dests):
-            other = hg.peer(repo, opts, path.rawloc)
+            other = hg.peer(repo, opts, path)
             if revs is not None:
                 hex_revs = [repo[r].hex() for r in revs]
             else: