##// END OF EJS Templates
hghave: introduce a test (unused) for cvs >= 1.12
Bryan O'Sullivan -
r18285:95892276 default
parent child Browse files
Show More
@@ -41,6 +41,10 b' def has_cvs():'
41 re = r'Concurrent Versions System.*?server'
41 re = r'Concurrent Versions System.*?server'
42 return matchoutput('cvs --version 2>&1', re) and not has_msys()
42 return matchoutput('cvs --version 2>&1', re) and not has_msys()
43
43
44 def has_cvs112():
45 re = r'Concurrent Versions System \(CVS\) 1.12.*?server'
46 return matchoutput('cvs --version 2>&1', re) and not has_msys()
47
44 def has_darcs():
48 def has_darcs():
45 return matchoutput('darcs --version', r'2\.[2-9]', True)
49 return matchoutput('darcs --version', r'2\.[2-9]', True)
46
50
@@ -278,6 +282,7 b' checks = {'
278 "bzr114": (has_bzr114, "Canonical's Bazaar client >= 1.14"),
282 "bzr114": (has_bzr114, "Canonical's Bazaar client >= 1.14"),
279 "cacheable": (has_cacheable_fs, "cacheable filesystem"),
283 "cacheable": (has_cacheable_fs, "cacheable filesystem"),
280 "cvs": (has_cvs, "cvs client/server"),
284 "cvs": (has_cvs, "cvs client/server"),
285 "cvs112": (has_cvs112, "cvs client/server >= 1.12"),
281 "darcs": (has_darcs, "darcs client"),
286 "darcs": (has_darcs, "darcs client"),
282 "docutils": (has_docutils, "Docutils text processing library"),
287 "docutils": (has_docutils, "Docutils text processing library"),
283 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
288 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
General Comments 0
You need to be logged in to leave comments. Login now