Hi Dannes,

The trouble I had was due to the two files svnkit.jar and svnkit-cli.jar which I copied into $EXIST_HOME/lib/user/ following Dmitiy's instructions.
Now, I learned (after testing myself) that this worked only for the stable downloadable 2.1 version, but not for the master release from github.

when I build exist-db with the SVN extension, then only think I have to do is to change  the property "include.feature.svn" in extensions/build.properties


# SVN extension
include.feature.svn = true

that's what it needs for me to get it built..... There is no manual download required. please check for any svn jar files on any location, and remove them

find . -name "svn*jar"

Eventually, after removing these two files my build works fine as well.

Yet, there is a (hopefully) last question: how can I import the subversion module?
When I type

    import module namespace subversion = "http://exist-db.org/xquery/versioning/svn";

it displays this:

error found while loading module subversion: failed to load module: 'http://exist-db.org/xquery/versioning/svn' from: 'http://exist-db.org/xquery/versioning/svn', location: 'http://exist-db.org/xquery/versioning/svn'. Source not found.

Following the documentation at http://exist-db.org/exist/apps/doc/subversion-module.xml
I uncommented the following line in the conf.xml file:
<module uri="http://exist-db.org/xquery/versioning/svn" class="org.exist.versioning.svn.xquery.SVNModule" />

But that didn't have any effect.