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

Re: Post-Commit Hook for Windows

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 1 Feb 2011 16:36:06 -0500

On Mon, Jan 31, 2011 at 4:16 AM, Waseem Bokhari <
waseem.bokhari_at_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_at_gmail.com
Received on 2011-02-01 22:36:43 CET

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.