--- a/mercurial/sshpeer.py Tue Apr 04 11:58:35 2023 +0200
+++ b/mercurial/sshpeer.py Fri Apr 07 15:42:49 2023 +0200
@@ -568,7 +568,7 @@
self._readerr()
-def makepeer(ui, path, proc, stdin, stdout, stderr, autoreadstderr=True):
+def _make_peer(ui, path, proc, stdin, stdout, stderr, autoreadstderr=True):
"""Make a peer instance from existing pipes.
``path`` and ``proc`` are stored on the eventual peer instance and may
@@ -658,7 +658,7 @@
ui, sshcmd, args, remotecmd, remotepath, sshenv
)
- peer = makepeer(ui, path, proc, stdin, stdout, stderr)
+ peer = _make_peer(ui, path, proc, stdin, stdout, stderr)
# Finally, if supported by the server, notify it about our own
# capabilities.