Re: email automatic at commit
From: Patrick Dean Rusk <PRusk_at_foliage.com>
Date: 2004-08-21 00:01:56 CEST
"Patrick Dean Rusk" <PRusk@foliage.com> wrote...
Thought I would pass on my limited success in doing this....
I did install Cygwin on the server, including the ssmtp package. I also
Now, what I have is this. First, a "post-commit.bat" looking like this
The "post-commit.sh" in the hooks directory looks like this:
PATH=/usr/local/bin:/usr/bin:/bin
REPOS="$1"
/cygdrive/c/<repos_path>/hooks/commit-email.pl "$REPOS" "$REV" -h foo.com -s
----- cut -----
Finally, the "commit-email.pl" comes directly from
You also need to put an appropriate "ssmtp.conf" file in
Not clean, by any means, but it now works in a Windows environment.
Patrick Rusk
---------------------------------------------------------------------
|
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.