tests/hghave.py
changeset 28796 08a686a4a0a2
parent 28779 0970ebec29b4
child 28880 f74eed3115fd
--- a/tests/hghave.py	Fri Apr 01 15:12:50 2016 -0700
+++ b/tests/hghave.py	Mon Apr 04 06:27:12 2016 +0000
@@ -134,6 +134,11 @@
     re = r'Concurrent Versions System \(CVS\) 1.12.*?server'
     return matchoutput('cvs --version 2>&1', re) and not has_msys()
 
+@check("cvsnt", "cvsnt client/server")
+def has_cvsnt():
+    re = r'Concurrent Versions System \(CVSNT\) (\d+).(\d+).*\(client/server\)'
+    return matchoutput('cvsnt --version 2>&1', re)
+
 @check("darcs", "darcs client")
 def has_darcs():
     return matchoutput('darcs --version', r'2\.[2-9]', True)