[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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!
 'm
 getting frustrated, since the learning curve for the hook scripts seems to be longer than I expected and I have not found good documentation on it.
 
So, here's my questions:
 
1) What am I doing wrong?
2) Does anyone know of any sites that go into more depth about hook scripts? The subversion book on redbean.com kind of glazes over them, IMHO, and doesn't go into any real detail that would help me in a case like this.
 
Thanks in advance for any assistance that you can provide.

Sincerely,
 
Lawrence

                        
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com
Received on Sat Nov 6 16:05:22 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.