Show More
@@ -248,13 +248,10 def getsvnversion(): | |||
|
248 | 248 | return (0, 0) |
|
249 | 249 | return (int(m.group(1)), int(m.group(2))) |
|
250 | 250 | |
|
251 |
@check("svn |
|
|
252 |
def has_svn |
|
|
253 | return getsvnversion() >= (1, 5) | |
|
254 | ||
|
255 | @check("svn13", "subversion client and admin tools >= 1.3") | |
|
256 | def has_svn13(): | |
|
257 | return getsvnversion() >= (1, 3) | |
|
251 | @checkvers("svn", "subversion client and admin tools >= %s", (1.3, 1.5)) | |
|
252 | def has_svn_range(v): | |
|
253 | major, minor = v.split('.')[0:2] | |
|
254 | return getsvnversion() >= (int(major), int(minor)) | |
|
258 | 255 | |
|
259 | 256 | @check("svn", "subversion client and admin tools") |
|
260 | 257 | def has_svn(): |
General Comments 0
You need to be logged in to leave comments.
Login now