equal
deleted
inserted
replaced
121 import bzrlib |
121 import bzrlib |
122 return (bzrlib.__doc__ is not None |
122 return (bzrlib.__doc__ is not None |
123 and bzrlib.version_info[:2] >= (int(major), int(minor))) |
123 and bzrlib.version_info[:2] >= (int(major), int(minor))) |
124 except ImportError: |
124 except ImportError: |
125 return False |
125 return False |
|
126 |
|
127 @check("chg", "running with chg") |
|
128 def has_chg(): |
|
129 return 'CHGHG' in os.environ |
126 |
130 |
127 @check("cvs", "cvs client/server") |
131 @check("cvs", "cvs client/server") |
128 def has_cvs(): |
132 def has_cvs(): |
129 re = r'Concurrent Versions System.*?server' |
133 re = r'Concurrent Versions System.*?server' |
130 return matchoutput('cvs --version 2>&1', re) and not has_msys() |
134 return matchoutput('cvs --version 2>&1', re) and not has_msys() |