tests/hghave
branchstable
changeset 1032 5923d03569b3
parent 1031 b914fc162545
child 1055 dabed2cabd5e
equal deleted inserted replaced
1031:b914fc162545 1032:5923d03569b3
    43     except ImportError:
    43     except ImportError:
    44         return False
    44         return False
    45 
    45 
    46 def has_cvs():
    46 def has_cvs():
    47     re = r'Concurrent Versions System.*?server'
    47     re = r'Concurrent Versions System.*?server'
    48     return matchoutput('cvs --version 2>&1', re)
    48     return matchoutput('cvs --version 2>&1', re) and not has_msys()
    49 
    49 
    50 def has_darcs():
    50 def has_darcs():
    51     return matchoutput('darcs --version', r'2\.[2-9]', True)
    51     return matchoutput('darcs --version', r'2\.[2-9]', True)
    52 
    52 
    53 def has_mtn():
    53 def has_mtn():