Problem with Email Notifications in VisualSVN Server
Posted
by emzero
on Server Fault
See other posts from Server Fault
or by emzero
Published on 2010-04-07T04:02:12Z
Indexed on
2010/04/07
4:03 UTC
Read the original article
Hit count: 1368
Hey guys!
I have a dedicated server running windows 2003 server and Visual SVN Server 2.0.8.
I'm trying to configure it to send email notifications on commit. So I found this article on Visual SVN site.
It says I have to edit the Post-commit hook and set it to the following:
"%VISUALSVN_SERVER%\bin\VisualSVNServerHooks.exe" ^
commit-notification "%1" -r %2 ^
--from <from-email> --to <to-email> ^
--smtp-server <smtp-server>
Of course I've replaced the variables there.
The problem is when someone commits something, the svn client throws the following error:
post-commit hook failed (exit code 1) with no output.
The commit process runs with no problems, I mean it does commit the files. But it won't send any email notification. If I remove the post-commit hook, then I don't get the error (and of course I don't get any notification).
Could you help me out with it? The error doesn't tell too much =S
Thank you!
© Server Fault or respective owner