changeset 677:d81e0abb2d27

svnwrap: activate & prefer subvertpy bindings when available All tests pass.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 11 Aug 2010 19:57:35 +0200
parents 2a9c009790ce
children 26ff4564a123
files hgsubversion/svnwrap/__init__.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnwrap/__init__.py
+++ b/hgsubversion/svnwrap/__init__.py
@@ -8,4 +8,7 @@ present.
 
 from common import *
 
-from svn_swig_wrapper import *
+try:
+    from subvertpy_wrapper import *
+except ImportError, e:
+    from svn_swig_wrapper import *