convert: reenable SVN support after license issue solved
authorPatrick Mezard <pmezard@gmail.com>
Tue, 10 Nov 2009 22:32:17 +0100
changeset 9819 dec177286deb
parent 9818 72d670c43f6e
child 9822 8b3e0435e690
convert: reenable SVN support after license issue solved
hgext/convert/subversion.py
tests/hghave
--- a/hgext/convert/subversion.py	Sun Nov 08 18:08:24 2009 +0100
+++ b/hgext/convert/subversion.py	Tue Nov 10 22:32:17 2009 +0100
@@ -22,7 +22,6 @@
 from common import commandline, converter_source, converter_sink, mapfile
 
 try:
-    raise ImportError("SVN support disabled due to license incompatibility")
     from svn.core import SubversionException, Pool
     import svn
     import svn.client
--- a/tests/hghave	Sun Nov 08 18:08:24 2009 +0100
+++ b/tests/hghave	Tue Nov 10 22:32:17 2009 +0100
@@ -128,10 +128,8 @@
     return False
 
 def has_svn():
-    #return matchoutput('svn --version 2>&1', r'^svn, version') and \
-        #matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
-    # disabled until licensing issue is resolved
-    return False
+    return matchoutput('svn --version 2>&1', r'^svn, version') and \
+        matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
 
 def has_svn_bindings():
     try: