equal
deleted
inserted
replaced
50 def has_darcs(): |
50 def has_darcs(): |
51 return matchoutput('darcs --version', r'2\.[2-9]', True) |
51 return matchoutput('darcs --version', r'2\.[2-9]', True) |
52 |
52 |
53 def has_mtn(): |
53 def has_mtn(): |
54 return matchoutput('mtn --version', r'monotone', True) and not matchoutput( |
54 return matchoutput('mtn --version', r'monotone', True) and not matchoutput( |
55 'mtn --version', r'monotone 0\.(\d|[12]\d|3[01])[^\d]', True) |
55 'mtn --version', r'monotone 0\.', True) |
56 |
56 |
57 def has_eol_in_paths(): |
57 def has_eol_in_paths(): |
58 try: |
58 try: |
59 fd, path = tempfile.mkstemp(prefix=tempprefix, suffix='\n\r') |
59 fd, path = tempfile.mkstemp(prefix=tempprefix, suffix='\n\r') |
60 os.close(fd) |
60 os.close(fd) |