##// END OF EJS Templates
svn-support: Add a view to trigger the (re)generation of Apache mod_dav_svn configuration file....
svn-support: Add a view to trigger the (re)generation of Apache mod_dav_svn configuration file. The configuration is automatically generated if a repository group is changed. This is problematic in a case where no repository groups are used (yet). Therfore an option is needed to start the geneartion manually.

File last commit:

r1:854a839a default
r1012:af6bf7a6 default
Show More
svn_pre_commit_hook.py.tmpl
19 lines | 254 B | application/x-cheetah | CheetahLexer
#!_ENV_
import os
import sys
RC_HOOK_VER = '_TMPL_'
def main():
if os.environ.get('SSH_READ_ONLY') == '1':
sys.stderr.write('Only read-only access is allowed')
sys.exit(1)
sys.exit(0)
if __name__ == '__main__':
main()