tests/hghave
changeset 9819 dec177286deb
parent 9817 912ce84eebae
child 10971 cbe400a8e217
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