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_himanshu yahoo.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.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.
>
>
--
sreedhar
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe subversion.tigris.org
For additional commands, e-mail: users-help subversion.tigris.org
|