Project

General

Profile

Question on Automatic svn creation

Added by Nicolas Berens over 13 years ago

Is there a possibility to add hooks to svn repositorys automaticaly?

At the moment i have set up my redmine with automatical creation of subversion repositorys using reposman.rb

is there a possibility to automaticaly add a post-commit hook to the newly created svn repository?

i want to add this here:

http://www.redmine.org/projects/redmine/wiki/HowTo_setup_automatic_refresh_of_repositories_in_Redmine_on_commit


Replies (2)

RE: Question on Automatic svn creation - Added by Felix Schäfer over 13 years ago

I think you'd have to patch reposman.rb for that.

RE: Question on Automatic svn creation - Added by Pieter Smith over 13 years ago

If you are running Redmine on a linux distribution, it is quite easy to write a wrapper that parses the reposman.rb output. Here is an example reposman_wrapper.sh

You may have to tweak and adjust a bit for your own setup.

reposman_wrapper.sh (1.64 KB) reposman_wrapper.sh Reposman wrapper
    (1-2/2)