Re: how come post-commit script not triggered to email commitnotifications
From: Russ <rsivak_at_istandfor.com>
Date: 2007-01-05 18:06:22 CET
This is most likely a oremissions issue on the script. When you run it via command line it uses your credentials, but when you do it through eclipse it uses the credentials of apache or svnserve, depending on whether you're accessing the repo through http(s) protocols, respectivelly. Also when running through apache or svnserve, no environment variables are set up, so you have to use full paths everywhere in the script
Russ
-----Original Message-----
I am a svn newbie, but I went through many of the threads on svn commit
I am following along this guide:
With the post-commit script, when I run it from command line I get an email
# ./post-commit /path/to/rep 3
However, when I commit changes to the repository in the Eclipse IDE, using
[contents of script (post-commit)]
/usr/local/scripts/commit-email.pl "$REPOS" "$REV" --from
I don't understand what the problem is. It works fine via command-line, but
-- View this message in context: http://www.nabble.com/how-come-post-commit-script-not-triggered-to-email-commit-notifications-tf2926591.html#a8181511 Sent from the Subversion Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Fri Jan 5 18:24:43 2007 |
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.