changeset 49708:0df2cff04291

path: pass `path` to `peer` in `hg bundle` We directly use the `path` object to build the `peer` object.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:57:14 +0100
parents aa36771ef505
children 459e311f5581
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: