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

post-commit hook fails

From: Alien8 Recordings <alien8_at_alien8recordings.com>
Date: 2006-03-10 00:26:31 CET

Hi All,

I've scoured the mailing list and the web for info on why my post-
commit hook might be failing. It seems to be a very common problem
and most of the threads I read seemed to remain unresolved. In any
case I am trying to do execute the following simple post-commit script:

---------
#!/bin/bash

REPOS="$1"
REV="$2"
/usr/bin/svnadmin dump /var/svn --revision $REV --incremental > /
backup/svn_backups/dump$REV &> /tmp/postout.txt
---------

I am running svn with mod_dav through apache. I made the script
executable to apache and the backup directory is owned by apache. The
script works just fine when I execute through the shell, but when I
commit nothing seems to happen. The stdout/err file is never written.
Does anyone have any suggestion about how I could solve this problem?
Am I missing something?

Thanks,
Sean

______________
ALIEN8 RECORDINGS
P.O. BOX 666, STATION R
MONTREAL, QC
CANADA, H2S 3L1

http://www.alien8recordings.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 10 00:27:17 2006

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.