changeset 49755:2d11a98db799

peer: store the path object used to build a peer from a repo This is the simplest case, we so starts with it.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 03 Dec 2022 00:19:23 +0100
parents ec30fe6917ec
children d979c76d6e54
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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