diff mercurial/windows.py @ 29530:3239e2fdd2e2

chgserver: extract utility to bind unix domain socket to long path This is common problem of using sockaddr_un.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 21 May 2016 16:52:04 +0900
parents 912255f8f087
children 3df9f780c90e
line wrap: on
line diff
--- a/mercurial/windows.py	Sat May 21 16:42:59 2016 +0900
+++ b/mercurial/windows.py	Sat May 21 16:52:04 2016 +0900
@@ -471,3 +471,6 @@
         chunks.append(s)
 
     return ''.join(chunks)
+
+def bindunixsocket(sock, path):
+    raise NotImplementedError('unsupported platform')