##// END OF EJS Templates
hghave: detect subversion client and admin tools availability
Patrick Mezard -
r5253:d82ebcdf default
parent child Browse files
Show More
@@ -65,6 +65,10 b' def has_lsprof():'
65 def has_git():
65 def has_git():
66 return matchoutput('git --version 2>&1', r'^git version')
66 return matchoutput('git --version 2>&1', r'^git version')
67
67
68 def has_svn():
69 return matchoutput('svn --version 2>&1', r'^svn, version') and \
70 matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
71
68 checks = {
72 checks = {
69 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
73 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
70 "execbit": (has_executablebit, "executable bit"),
74 "execbit": (has_executablebit, "executable bit"),
@@ -72,6 +76,7 b' checks = {'
72 "fifo": (has_fifo, "named pipes"),
76 "fifo": (has_fifo, "named pipes"),
73 "hotshot": (has_hotshot, "python hotshot module"),
77 "hotshot": (has_hotshot, "python hotshot module"),
74 "lsprof": (has_lsprof, "python lsprof module"),
78 "lsprof": (has_lsprof, "python lsprof module"),
79 "svn": (has_svn, "subversion client and admin tools"),
75 "symlink": (has_symlink, "symbolic links"),
80 "symlink": (has_symlink, "symbolic links"),
76 }
81 }
77
82
General Comments 0
You need to be logged in to leave comments. Login now