comparison tests/hghave @ 9244:3f52a70959ce

tests/hghave: bzr114 checks for bzr >= 1.14 Everything but the implementation indicated that bzr114 also should be true for "or higher".
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 25 Jul 2009 02:20:27 +0200
parents 6fce36336e42
children b236f34ec1e9
comparison
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'