equal
deleted
inserted
replaced
127 statisexec = platform.statisexec |
127 statisexec = platform.statisexec |
128 statislink = platform.statislink |
128 statislink = platform.statislink |
129 umask = platform.umask |
129 umask = platform.umask |
130 unlink = platform.unlink |
130 unlink = platform.unlink |
131 username = platform.username |
131 username = platform.username |
|
132 |
|
133 |
|
134 def setumask(val): |
|
135 ''' updates the umask. used by chg server ''' |
|
136 if pycompat.iswindows: |
|
137 return |
|
138 os.umask(val) |
|
139 global umask |
|
140 platform.umask = umask = val & 0o777 |
|
141 |
132 |
142 |
133 # small compat layer |
143 # small compat layer |
134 compengines = compression.compengines |
144 compengines = compression.compengines |
135 SERVERROLE = compression.SERVERROLE |
145 SERVERROLE = compression.SERVERROLE |
136 CLIENTROLE = compression.CLIENTROLE |
146 CLIENTROLE = compression.CLIENTROLE |