Problems with Hook Scripts
From: Rydinare <rydinare_at_yahoo.com>
Date: 2004-11-06 16:04:44 CET
Hello again. I'm running Subversion 1.1.0 on Fedora Core 2. I've been having a lot of problems getting the hook scripts to work. First, I made a new test repository and then was trying to use the post-commit hook script. It wouldn't run. I made sure it was executable. Then, I moved all of the .tmpl files out. It still didn't run. So, I added a start-commit and pre-commit script in, thinking that perhaps they had to be there before the post-commit would run. I was getting an error with the start-commit upon a 'svn commit' command, but at least that gave me confidence that something was going on. However, I realized that it wasn't executable, so I fixed the permissions. Now, I'm back to square one, where nothing seems to be happening. I added echo commands, put text into stderr. I still see nothing. I added UNIX commands like piping to a file and even tried out code to export the current repository directory, so I could see if something would happen. No dice. I!
This is an archived mail posted to the Subversion Users mailing list.