# HG changeset patch # User Pierre-Yves David # Date 1670023163 -3600 # Node ID 2d11a98db79981623fba9e2d4c76d73828f5fff4 # Parent ec30fe6917ec9ea528131d199f60c5630a38ced2 peer: store the path object used to build a peer from a repo This is the simplest case, we so starts with it. diff -r ec30fe6917ec -r 2d11a98db799 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