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

Re: Issues with post-commit hook script !!

From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-07-31 15:50:57 CEST

Hi,

Thanks for the help !! I have another query ? How will this script be invoked everytime a change has been into the repository. As of now i am passing the arguements manually. How can the script pick up the path and the revision number of it's own?

regards
Himanshu Raina

Sreedhar Kharidehal <sreedhar.kharidehal@gmail.com> wrote: I think --from is not there in post-commit.sh file. It should be
something like

 "$REPOS" "$REV" "to email addresses" -s
"subject line" --from "from email address"

towards the end of the file

Hope this helps

-sreedhar

On 7/31/07, Himanshu Raina wrote:
> Hi,
>
> How can i make use of post-commit hook script. In the post-commit script i
> have mentioned the path to commit-email.pl but one executing the post-commit
> script i get the error
>
> "use of either `-h' or `--from' is mandatory when sending email using direct
> SMTP"
>
> Do i need to modify the commit-email.pl script ?? If yes what values have to
> be updated and also every time changes are done to the repository how will
> it be notified ??
>
> Regards
> Himanshu Raina
>
>
> ________________________________
> Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
>
>

-- 
sreedhar
       
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. 
Received on Tue Jul 31 15:49:41 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.