tests/hghave
branchstable
changeset 15346 53f37b24f26a
parent 14927 2aa3e07b2f07
child 15441 e0348815e806
equal deleted inserted replaced
15345:6e3c560f2fd1 15346:53f37b24f26a
   137         return (0, 0)
   137         return (0, 0)
   138     return (int(m.group(1)), int(m.group(2)))
   138     return (int(m.group(1)), int(m.group(2)))
   139 
   139 
   140 def has_svn15():
   140 def has_svn15():
   141     return getsvnversion() >= (1, 5)
   141     return getsvnversion() >= (1, 5)
       
   142 
       
   143 def has_svn13():
       
   144     return getsvnversion() >= (1, 3)
   142 
   145 
   143 def has_svn():
   146 def has_svn():
   144     return matchoutput('svn --version 2>&1', r'^svn, version') and \
   147     return matchoutput('svn --version 2>&1', r'^svn, version') and \
   145         matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
   148         matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
   146 
   149 
   228     "p4": (has_p4, "Perforce server and client"),
   231     "p4": (has_p4, "Perforce server and client"),
   229     "pyflakes": (has_pyflakes, "Pyflakes python linter"),
   232     "pyflakes": (has_pyflakes, "Pyflakes python linter"),
   230     "pygments": (has_pygments, "Pygments source highlighting library"),
   233     "pygments": (has_pygments, "Pygments source highlighting library"),
   231     "ssl": (has_ssl, "python >= 2.6 ssl module and python OpenSSL"),
   234     "ssl": (has_ssl, "python >= 2.6 ssl module and python OpenSSL"),
   232     "svn": (has_svn, "subversion client and admin tools"),
   235     "svn": (has_svn, "subversion client and admin tools"),
       
   236     "svn13": (has_svn13, "subversion client and admin tools >= 1.3"),
   233     "svn15": (has_svn15, "subversion client and admin tools >= 1.5"),
   237     "svn15": (has_svn15, "subversion client and admin tools >= 1.5"),
   234     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
   238     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
   235     "symlink": (has_symlink, "symbolic links"),
   239     "symlink": (has_symlink, "symbolic links"),
   236     "tla": (has_tla, "GNU Arch tla client"),
   240     "tla": (has_tla, "GNU Arch tla client"),
   237     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
   241     "unix-permissions": (has_unix_permissions, "unix-style permissions"),