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

post-commit not executed

From: <stueker_at_gmx.de>
Date: 2005-08-17 09:50:58 CEST

Hi,
I want to use the post-commit together with the commit-email.pl script to
send emails after a commit occurred. Although both scripts work fine, if I
call them by hand, post-commit is not executed after a commit.

Here is what I already did:
1. I created post-commit

=============================================================
#!/bin/sh
echo post-commit >> Test.txt

REPOS="$1"
REV="$2"
commit-email.pl "$REPOS" "$REV" dirk.stueker@volkswagen.de
=============================================================

2. I copied the script to .../myrepos/hooks/post-commit
3. I set the executable flag chmod +x post-commit

Even if commit-email.pl failed, the file Test.txt should be created after
a commit or a line post-commit should be added respectively. That does not
happen. What's wrong?

Any help is really appreciated.
Thanks in advance
Dirk

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 17 12:31:26 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.