changeset 7315:408cf9eb9e5d

tests: run svn tests only with svn bindings >1.3
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 05 Nov 2008 18:57:54 +0100
parents a0843c82d1a2
children 95e1260b8134
files tests/hghave
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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