mercurial/sshpeer.py
branchstable
changeset 52967 f6b30f4b5e07
parent 52966 7aec18bded6d
child 52988 5ec596c91086
--- a/mercurial/sshpeer.py	Wed Feb 05 16:49:43 2025 +0000
+++ b/mercurial/sshpeer.py	Thu Feb 06 15:37:59 2025 +0000
@@ -342,7 +342,7 @@
         ui.debug(b'sending hello command\n')
         ui.debug(b'sending between command\n')
 
-        stdin.write(b''.join(handshake))
+        _write_all(stdin.write, b''.join(handshake))
         stdin.flush()
     except IOError:
         badresponse()