##// END OF EJS Templates
tests: check for bzr support by importing bzrlib...
Dirkjan Ochtman -
r7061:8b874f8c default
parent child Browse files
Show More
@@ -25,7 +25,11 b' def has_baz():'
25 return matchoutput('baz --version 2>&1', r'baz Bazaar version')
25 return matchoutput('baz --version 2>&1', r'baz Bazaar version')
26
26
27 def has_bzr():
27 def has_bzr():
28 return matchoutput('bzr --version 2>&1', r'Bazaar \(bzr\)')
28 try:
29 import bzrlib
30 return True
31 except ImportError:
32 return False
29
33
30 def has_cvs():
34 def has_cvs():
31 re = r'Concurrent Versions System.*?server'
35 re = r'Concurrent Versions System.*?server'
General Comments 0
You need to be logged in to leave comments. Login now