equal
deleted
inserted
replaced
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 try: |
28 try: |
29 import bzrlib |
29 import bzrlib |
30 return True |
30 return bzrlib.__doc__ != None |
31 except ImportError: |
31 except ImportError: |
32 return False |
32 return False |
33 |
33 |
34 def has_cvs(): |
34 def has_cvs(): |
35 re = r'Concurrent Versions System.*?server' |
35 re = r'Concurrent Versions System.*?server' |