I need to have a more intelligent post-commit script.
If a commit message states something like “Adding Revision-v.10.3 production”, an ssh command needs to be executed.
Is it possible to do this with post-commit?
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.
There is no easy way to get the commit message from the SVN
post-commithook. You can asksvn logfor the message, and then parse it out.From: here
To get the commit message from
post-commituse this: