tests/hghave
changeset 9244 3f52a70959ce
parent 8809 6fce36336e42
child 9326 b236f34ec1e9
equal deleted inserted replaced
9243:df21a009c9c4 9244:3f52a70959ce
    37 
    37 
    38 def has_bzr114():
    38 def has_bzr114():
    39     try:
    39     try:
    40         import bzrlib
    40         import bzrlib
    41         return (bzrlib.__doc__ != None
    41         return (bzrlib.__doc__ != None
    42                 and bzrlib.version_info[:2] == (1, 14))
    42                 and bzrlib.version_info[:2] >= (1, 14))
    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'