List Info

Thread: Re: Issues with post-commit hook script !!




Re: Issues with post-commit hook script !!
user name
2007-07-31 08:50:57
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.kharidehalgmail.com&gt; 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 yahoo.com> wrote:
>; Hi,
>
&gt; 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 ??
>
&gt; Regards
&gt; Himanshu Raina
>
>
> ________________________________
> Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
>;
>


--
sreedhar
yahoo.com>


Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.
Re: Issues with post-commit hook script !!
user name
2007-07-31 09:43:40
You have to place the post-commit.sh and commit-email.pl in
the hooks
directory of the repository

On 7/31/07, Himanshu Raina <raina_himanshuyahoo.com> wrote:
> 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.kharidehalgmail.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.
>
>


-- 
sreedhar

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribesubversion.tigris.org
For additional commands, e-mail: users-helpsubversion.tigris.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )