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

help with hook scripts failing, not sure why.

From: aaron smith <beingthexemplarylists_at_gmail.com>
Date: 2007-05-08 17:36:50 CEST

Hey All,

I'm just getting into hook scripts with SVN. Our repository is over
http with Apache. What i'm trying to do is export the repository after
a commit to the root of a virtual host on the same machine.

This is my hook script:::
----post-commit
#!/bin/sh
REPOS="$1"
REV="$2"
PATH=/sbin:/bin:/usr/bin:/usr/bin
export PATH
sudo svn export http://***/svn/repos/htdocs /var/www/vhosts/copytest/
>>/tmp/test 2>&1
-----

When I do a commit to the repository it successfully does the commit
but then it tells me the post-commit hook failed with output: [blank]

I've been double checking permissions, file locations, etc.. can't
seem to find why it would be failing.

any ideas?

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 8 17:37:15 2007

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.