This is an archived version of the documentation for SonarQube-7.2.
See the Latest Documentation for current functionality.

SVN Integration

Subversion integration is supported out of the box for Subversion 1.6 to 1.9.x.

Auto-detection of SVN during analysis will happen if there is a .svn folder somewhere in the parent hierarchy of the project root. Otherwise you can force the provider using -Dsonar.scm.provider=svn on the analysis command line.

Known issues

If you get errors like:

Caused by: org.tmatesoft.svn.core.SVNException: svn: E200007: Retrieval of mergeinfo unsupported by '';

It means that the SVN server is not advertising the 'mergeinfo' capability. You can check the advertised capabilities by simply connecting to it:

  telnet <svn_server> 3690

Often this is because your SVN server is not >= 1.5 or your project was not properly migrated after a server upgrade. It could also be a misconfiguration of the server.

You should try to run svnadmin upgrade on the server. For more information, please read