Reputation: 151
What is the best script for a SVN Pre commit to only allows commits that contain the following string
issue 1234
This is to help our build system tag the ticket in our bug system while talking to the svn repo
Something like
if comment includes
issue 1234
then commit
otherwise
fail "please enter issue "
This is for a SVN linux configuration
Upvotes: 2
Views: 521
Reputation: 401
There is a great pre-commit log entry query example shown at http://blog.grimsy.net/2008/07/a-few-svn-pre-commit-hooks/
Upvotes: 2