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

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

Sent wirelessly via BlackBerry from T-Mobile.

-----Original Message-----
From: sqad <sjangity@yahoo.com>
Date: Fri, 5 Jan 2007 08:53:10
         how come post-commit script not triggered to email commit

I am a svn newbie, but I went through many of the threads on svn commit
notifications, but no one had the problem I had - so appreciate the help.

I am following along this guide:

With the post-commit script, when I run it from command line I get an email
sent, so everything seems to be working AOK:

# ./post-commit /path/to/rep 3

However, when I commit changes to the repository in the Eclipse IDE, using
the SVN plugin, I don't get any email notifications. Doesn't this mean, the
'post-commit' script isn't being triggered?

[contents of script (post-commit)]

/usr/local/scripts/commit-email.pl "$REPOS" "$REV" --from
XXX@yahoogroups.com -s "[SVN-Timely Commit] " me@hotmail.com

I don't understand what the problem is. It works fine via command-line, but
not when I commit the code via eclipse. Help! :-(

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.org
Received 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.