July, 2008Archive for

A few svn pre-commit hooks

I've recently been looking around for some pre-commit hooks for our subversion repositories. I figured that since I have them all up and running now, I might as well share them. I can't remember where I got all of these from, so if it's one of yours, then I apologise. Feel free to contact me and I'll give you credit for it. Check for blank/empty commit messages and reject This goes in hooks/pre-commit REPOS="$1" TXN="$2" # Make sure that the log message contains some text. SVNLOOK=/usr/bin/sv...