Hello,
does anyone know how to setup compression level for svn ?
Normally you you could set it in mod_dav Settings, but theses are generated and i found no hint how to add custom parameters.
You can actually use your own template and configure it via rhodecode.ini here
; Set location and file name of generated config file.
svn.proxy.config_file_path = /etc/rhodecode/conf/svn/mod_dav_svn.conf
This file template is here: rhodecode-enterprise-ce Files · rhodecode/apps/svn_support/templates/mod-dav-svn.conf.mako · RhodeCode Free Hosting
I thought it worked but when i add SVNCompressionLevel to the location section i get an invalid parameter in section location and after restart svn container doesn’t even start…
<Location "${location_root|n}">
AuthType Basic
AuthName "${rhodecode_realm|n}"
AuthBasicProvider anon
Anonymous *
Anonymous_LogEmail off
Require valid-user
DAV svn
SVNParentPath "${parent_path_root|n}"
SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
SVNCompressionLevel 9
Allow from all
Order allow,deny
</Location>
I found out whats the problem.
SVNCompressionLevel is an global Parameter so when i moved it out of the location section it will read as a global parameter
1 Like