##// END OF EJS Templates
hghave: detect darcs client
Patrick Mezard -
r5410:2daecf3d default
parent child Browse files
Show More
@@ -27,6 +27,9 b' def has_cvs():'
27 27 def has_cvsps():
28 28 return matchoutput('cvsps -h -q 2>&1', r'cvsps version', True)
29 29
30 def has_darcs():
31 return matchoutput('darcs', 'darcs version', True)
32
30 33 def has_eol_in_paths():
31 34 try:
32 35 fd, path = tempfile.mkstemp(prefix=tempprefix, suffix='\n\r')
@@ -85,6 +88,7 b' def has_symlink():'
85 88 checks = {
86 89 "cvs": (has_cvs, "cvs client"),
87 90 "cvsps": (has_cvsps, "cvsps utility"),
91 "darcs": (has_darcs, "darcs client"),
88 92 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
89 93 "execbit": (has_executablebit, "executable bit"),
90 94 "fifo": (has_fifo, "named pipes"),
General Comments 0
You need to be logged in to leave comments. Login now