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

Re: Email Notifications

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2005-08-25 02:28:12 CEST

On 8/24/05, S I <xiamak@hotmail.com> wrote:
> Ok, I downloaded the source code and I'm looking in \tools\hook-scripts and
> see a file by this name: commit-email.pl.in What's .in at the end, do you
> know? Or did I download the wrong version? I also do not see a file named,
> post-commit. Do I need to write this file from scratch?
>

.in files are generally files processed by the configure script. it
has symbols (enclosed in @@) that are replaced when you run configure
and a new file without the .in extension will be created.

you can either run the configure script in the root of the subversion
source (recommended) or you can just copy the .pl.in file to .pl file
and replace the one symbol that this particular script needs to be
replace. it is the line

my $svnlook = "@SVN_BINDIR@/svnlook";

replace @SVN_BINDIR@ with your svn installation's bin directory (that
is where the svnlook.exe is found.)

re: post-commit file, the hooks directory of your subversion
repository (not the source) should have the post-commit.tmpl file.
this is a sample file. this is a sample shell script, in unix/linux
systems. i do not know whether there will be a post-commit.bat.tmpl in
the windows system. in anycase, you have to have a post-commit.bat
file in the <repository>/hooks directory. take a look at the .tmpl
file to get an idea of what it should look like. basically the hook
script is called with two parameters. the first one is the repository
path and the other is the revision number of the commit for which the
post-commit is being called

regards,
-Hari

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 25 02:29:52 2005

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.