peer: store the path object used to build a peer from a repo
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 03 Dec 2022 00:19:23 +0100
changeset 49755 2d11a98db799
parent 49754 ec30fe6917ec
child 49756 d979c76d6e54
peer: store the path object used to build a peer from a repo This is the simplest case, we so starts with it.
mercurial/hg.py
--- a/mercurial/hg.py	Fri Dec 02 17:41:44 2022 +0100
+++ b/mercurial/hg.py	Sat Dec 03 00:19:23 2022 +0100
@@ -274,7 +274,7 @@
             intents=intents,
             createopts=createopts,
         )
-        peer = repo.peer()
+        peer = repo.peer(path=peer_path)
     return peer