Mercurial > public > mercurial-scm > hg
diff mercurial/httppeer.py @ 49757: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 | a6e2a668c746 |
children | cfe8d88a453e |
line wrap: on
line diff
--- a/mercurial/httppeer.py Fri Dec 02 18:18:57 2022 +0100 +++ b/mercurial/httppeer.py Fri Dec 02 18:19:59 2022 +0100 @@ -624,6 +624,7 @@ def make_peer(ui, path, create, intents=None, createopts=None): if create: raise error.Abort(_(b'cannot create new http repository')) + path = path.loc try: if path.startswith(b'https:') and not urlmod.has_https: raise error.Abort(