##// END OF EJS Templates
svn-support: Retrieve repository base path via helper method.
Martin Bornhold -
r833:8b391ee2 default
parent child Browse files
Show More
@@ -20,7 +20,7 b''
20
20
21 import logging
21 import logging
22
22
23 from rhodecode.model.settings import SettingsModel
23 from rhodecode.lib.utils import get_rhodecode_base_path
24 from .utils import generate_mod_dav_svn_config
24 from .utils import generate_mod_dav_svn_config
25
25
26
26
@@ -34,11 +34,9 b' def generate_config_subscriber(event):'
34 changes.
34 changes.
35 """
35 """
36 try:
36 try:
37 parent_path_root = SettingsModel().get_ui_by_section_and_key(
38 'paths', '/').ui_value
39 generate_mod_dav_svn_config(
37 generate_mod_dav_svn_config(
40 settings=event.request.registry.settings,
38 settings=event.request.registry.settings,
41 parent_path_root=parent_path_root)
39 parent_path_root=get_rhodecode_base_path())
42 except Exception:
40 except Exception:
43 log.exception(
41 log.exception(
44 'Exception while generating subversion mod_dav_svn configuration.')
42 'Exception while generating subversion mod_dav_svn configuration.')
General Comments 0
You need to be logged in to leave comments. Login now