--- a/mercurial/httppeer.py Tue Apr 04 11:58:35 2023 +0200
+++ b/mercurial/httppeer.py Fri Apr 07 15:42:49 2023 +0200
@@ -592,7 +592,7 @@
return respurl, info
-def makepeer(ui, path, opener=None, requestbuilder=urlreq.request):
+def _make_peer(ui, path, opener=None, requestbuilder=urlreq.request):
"""Construct an appropriate HTTP peer instance.
``opener`` is an ``url.opener`` that should be used to establish
@@ -628,7 +628,7 @@
_(b'Python support for SSL and HTTPS is not installed')
)
- inst = makepeer(ui, path)
+ inst = _make_peer(ui, path)
return inst
except error.RepoError as httpexception: