# HG changeset patch # User Bryan O'Sullivan # Date 1357766214 28800 # Node ID 9589227657bc250383454ce2319fd18c11d85000 # Parent e4be4e2ac8144520a6a9c8fa79cdbe6fed5e5538 hghave: introduce a test (unused) for cvs >= 1.12 diff -r e4be4e2ac814 -r 9589227657bc tests/hghave.py --- a/tests/hghave.py Sun Jan 06 04:50:14 2013 +0100 +++ b/tests/hghave.py Wed Jan 09 13:16:54 2013 -0800 @@ -41,6 +41,10 @@ re = r'Concurrent Versions System.*?server' return matchoutput('cvs --version 2>&1', re) and not has_msys() +def has_cvs112(): + re = r'Concurrent Versions System \(CVS\) 1.12.*?server' + return matchoutput('cvs --version 2>&1', re) and not has_msys() + def has_darcs(): return matchoutput('darcs --version', r'2\.[2-9]', True) @@ -278,6 +282,7 @@ "bzr114": (has_bzr114, "Canonical's Bazaar client >= 1.14"), "cacheable": (has_cacheable_fs, "cacheable filesystem"), "cvs": (has_cvs, "cvs client/server"), + "cvs112": (has_cvs112, "cvs client/server >= 1.12"), "darcs": (has_darcs, "darcs client"), "docutils": (has_docutils, "Docutils text processing library"), "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),