comparison tests/hghave @ 9819:dec177286deb

convert: reenable SVN support after license issue solved
author Patrick Mezard <pmezard@gmail.com>
date Tue, 10 Nov 2009 22:32:17 +0100
parents 912ce84eebae
children cbe400a8e217
comparison
equal deleted inserted replaced
9818:72d670c43f6e 9819:dec177286deb
126 if matchoutput(name, r'^rst2html(?:\.py)? \(Docutils'): 126 if matchoutput(name, r'^rst2html(?:\.py)? \(Docutils'):
127 return True 127 return True
128 return False 128 return False
129 129
130 def has_svn(): 130 def has_svn():
131 #return matchoutput('svn --version 2>&1', r'^svn, version') and \ 131 return matchoutput('svn --version 2>&1', r'^svn, version') and \
132 #matchoutput('svnadmin --version 2>&1', r'^svnadmin, version') 132 matchoutput('svnadmin --version 2>&1', r'^svnadmin, version')
133 # disabled until licensing issue is resolved
134 return False
135 133
136 def has_svn_bindings(): 134 def has_svn_bindings():
137 try: 135 try:
138 import svn.core 136 import svn.core
139 version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR 137 version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR