Apr 23, 2012

SVN: HOOK Monitoring the commit.

Before, some of my co-develop commit their changes without commit information. In that case we cant easy track the purpose of the committed changes until we we make rule to follow comment template. By the help of svn hook we strictly follow the comment template issued. If you want to check the commit information if satisfy the needed data? Try to look pre-commit.tmpl * copy the hook template pre-commit.tmpl and set the permission to executable.
$ cp pre-commit.tmpl pre-commit
$ chmod 755 pre-commit
For other hooks try to check your <REPOSTORY-PATH>/hooks/