# HG changeset patch # User Pierre-Yves David # Date 1669856234 -3600 # Node ID 0df2cff042913f007a3bf2d3becdb4ff1320bda1 # Parent aa36771ef50539e0045af6be92dd6d3dc6521e0d path: pass `path` to `peer` in `hg bundle` We directly use the `path` object to build the `peer` object. diff -r aa36771ef505 -r 0df2cff04291 mercurial/commands.py --- 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: