diff mercurial/util.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 0c741fd6158a
children 075146e85bb6
line wrap: on
line diff
--- a/mercurial/util.py	Sat May 21 16:42:59 2016 +0900
+++ b/mercurial/util.py	Sat May 21 16:52:04 2016 +0900
@@ -70,6 +70,7 @@
 
 _ = i18n._
 
+bindunixsocket = platform.bindunixsocket
 cachestat = platform.cachestat
 checkexec = platform.checkexec
 checklink = platform.checklink