Subversion Post-commit

Subversion Post-commit

Posted by: gsingers
Posted on: 2007-09-11 10:27:00

I am wondering if anyone has had any luck getting SVN post-commit hook scripts to work? The permissions and ownership are correct (I believe) with dhapache being the owner and having execute permission.

Does anyone know where SVN logs error messages for this kind of thing?

Re: Subversion Post-commit

Posted by: arthaey
Posted on: 2007-10-14 16:32:00

I also tried without success to get the post-commit script to work (email me the diffs of each checkin). If anyone has help for me or gsingers, we'd appreciate it!

Re: Subversion Post-commit

Posted by: ecvej
Posted on: 2007-10-15 10:52:00

working perfectly here. Post what you have in post-commit and I'll take a look.

Please confirm the following:-

you have a file named "post-commit" not "post-commit.tmpl"
the file is in the directory ~/svn/repoName/hooks/ <--repoName is your repository name
have you made the file executable? If not then do so
please post what you get when you ssh into your hooks directory and issue the command:

In reply to:

ls -l


Tags: svndoes anyone know wherei am wonderingerror messagessubversionpermissionshookscripts