I am new to SVN installation . I am unable to find a way to add a custom
template which would get fired up when a user performs a commit (in his editor)
. The template can be like:

Bug Id:

Root Cause:

Impact Areas if any:

Code Reviewed :

Requesting for your help.

I believe the following way would help you achieve your requirement.

Write a custom pre-commit hook script which checks if the user's comment consists of the custom format that you have mentioned in the script, else it should throw an error as you mention.

For Eg : Make a script which forces users to follows the following format.

svn commit -m "[bug_id=XXX] [root_cause=your comment] etc"

Like Ryan said, you may also make it sophisticated to add commit message by using an editor instead of barely adding them in a line as mentioned above.

Hope it helps.

--
Thanks,
Jeyanthan

Reply via email to