equal
deleted
inserted
replaced
150 return True |
150 return True |
151 except ImportError: |
151 except ImportError: |
152 return False |
152 return False |
153 |
153 |
154 def getsvnversion(): |
154 def getsvnversion(): |
155 m = matchoutput('svn --version 2>&1', r'^svn,\s+version\s+(\d+)\.(\d+)') |
155 m = matchoutput('svn --version --quiet 2>&1', r'^(\d+)\.(\d+)') |
156 if not m: |
156 if not m: |
157 return (0, 0) |
157 return (0, 0) |
158 return (int(m.group(1)), int(m.group(2))) |
158 return (int(m.group(1)), int(m.group(2))) |
159 |
159 |
160 def has_svn15(): |
160 def has_svn15(): |