##// END OF EJS Templates
hghave: detect FIFO availability
Patrick Mezard -
r5070:4cf6f8db default
parent child Browse files
Show More
@@ -9,8 +9,12 b' import sys'
9 def has_symlink():
9 def has_symlink():
10 return hasattr(os, "symlink")
10 return hasattr(os, "symlink")
11
11
12 def has_fifo():
13 return hasattr(os, "mkfifo")
14
12 checks = {
15 checks = {
13 "symlink": (has_symlink, "symbolic links"),
16 "symlink": (has_symlink, "symbolic links"),
17 "fifo": (has_fifo, "named pipes"),
14 }
18 }
15
19
16 def list_features():
20 def list_features():
General Comments 0
You need to be logged in to leave comments. Login now