tests/hghave
changeset 7315 408cf9eb9e5d
parent 7061 8b874f8cd29f
child 7429 dbc40381620e
equal deleted inserted replaced
7314:a0843c82d1a2 7315:408cf9eb9e5d
   116         matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
   116         matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
   117 
   117 
   118 def has_svn_bindings():
   118 def has_svn_bindings():
   119     try:
   119     try:
   120         import svn.core
   120         import svn.core
       
   121         version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR
       
   122         if version < (1, 4):
       
   123             return False
   121         return True
   124         return True
   122     except ImportError:
   125     except ImportError:
   123         return False
   126         return False
   124 
   127 
   125 def has_symlink():
   128 def has_symlink():