You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Weintraub <qa...@gmail.com> on 2011/02/01 22:36:06 UTC

Re: Post-Commit Hook for Windows

On Mon, Jan 31, 2011 at 4:16 AM, Waseem Bokhari <
waseem.bokhari@netsoltech.com> wrote:

>  Will you guys please share example script for Email Generation on Each
> Commit in SVN Windows Environment.
>

Here's a script called svn-watch.pl:
http://dl.dropbox.com/u/433257/svn-watch.pl

This is a Perl script which means you need to install Perl on your
Subversion repository server in order for it to work. Perl is available for
free from http://activestate.com.

The script allows users to set what files will trigger email notifications.
Complete directions are embedded in the script itself, and can be generated
via the "perldoc" command. See the comments on the very top of the file.

Even if you don't use this script, it does show you how to do notifications
in Subversion and shows you the basic technique.

-- 
David Weintraub
qazwart@gmail.com