tests: run svn tests only with svn bindings >1.3
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 05 Nov 2008 18:57:54 +0100
changeset 7315 408cf9eb9e5d
parent 7314 a0843c82d1a2
child 7318 95e1260b8134
tests: run svn tests only with svn bindings >1.3
tests/hghave
--- a/tests/hghave	Wed Nov 05 09:48:56 2008 +0100
+++ b/tests/hghave	Wed Nov 05 18:57:54 2008 +0100
@@ -118,6 +118,9 @@
 def has_svn_bindings():
     try:
         import svn.core
+        version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR
+        if version < (1, 4):
+            return False
         return True
     except ImportError:
         return False