0
votes

I'm trying to setup the post-commit hook of my subversion to update after every commit our development servers web folder. I have been following this instructions SVN SSH post-commit checkout hook (is in German, but the codes are commented in English) but unfortunately doesn't seems to work. After the commits the log file is initialized but the update won't be executed.

1

1 Answers

0
votes

Can you try to modify this line of the script:

/srv/svn/repos/st38/hooks/bin/svn-update /usr/bin/svn /srv/www/st38

to write the output of the svn-update command also to the logfile

/srv/svn/repos/st38/hooks/bin/svn-update /usr/bin/svn /srv/www/st38 2>&1 >> /srv/www/st38/post-commit.log

also try to manually execute that line.