diff mercurial/hg.py @ 49869:5f71fff8dc74

peer: pass the `path` object to `make_peer` We don't do anything with it yet, but we can start implementing it for each peer type starting now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 02 Dec 2022 18:19:59 +0100
parents 2d11a98db799
children e0c0545e2e55
line wrap: on
line diff
--- a/mercurial/hg.py	Fri Dec 02 18:18:57 2022 +0100
+++ b/mercurial/hg.py	Fri Dec 02 18:19:59 2022 +0100
@@ -256,7 +256,7 @@
         cls = peer_schemes[scheme]
         peer = cls.make_peer(
             rui,
-            peer_path.loc,
+            peer_path,
             create,
             intents=intents,
             createopts=createopts,