I’ve install subversion, and want to write my own script to automate the web deployment.
Is it possible to trigger the script when commiting?
It’s neither ssh nor apache based, only rely on svnserve.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sure, Subversion provides a post-commit hook that does exactly this. The Subversion hooks are found in a
hooksdirectory in the repository, and the default installation contains template files (*.tmpl) that show examples of each type of hook.