tests/hghave.py
changeset 28756 45954a251a40
parent 28591 f29cab5c519c
child 28757 93bf61913f33
equal deleted inserted replaced
28755:84673a7c54af 28756:45954a251a40
   109 @check("cvs", "cvs client/server")
   109 @check("cvs", "cvs client/server")
   110 def has_cvs():
   110 def has_cvs():
   111     re = r'Concurrent Versions System.*?server'
   111     re = r'Concurrent Versions System.*?server'
   112     return matchoutput('cvs --version 2>&1', re) and not has_msys()
   112     return matchoutput('cvs --version 2>&1', re) and not has_msys()
   113 
   113 
   114 @check("cvs112", "cvs client/server >= 1.12")
   114 @check("cvs112", "cvs client/server 1.12.* (not cvsnt)")
   115 def has_cvs112():
   115 def has_cvs112():
   116     re = r'Concurrent Versions System \(CVS\) 1.12.*?server'
   116     re = r'Concurrent Versions System \(CVS\) 1.12.*?server'
   117     return matchoutput('cvs --version 2>&1', re) and not has_msys()
   117     return matchoutput('cvs --version 2>&1', re) and not has_msys()
   118 
   118 
   119 @check("darcs", "darcs client")
   119 @check("darcs", "darcs client")