I'm trying to get a php file with passthru("svn up"), or just a shell script with 'svn up /var/www' to run via a post-commit hook.. but I'm having problems. Been trying for about 2 hours by now lol.
The simple idea of
Code:
#!/bin/sh
svn up /var/www
Didn't work and various others neither. Now I'm running a small C program instead, also running fine from command line but not after I try to commit something.
I'm using Tortoise SVN and I'm getting :
Error : Commit Failed (details follow ) :
Error: MERGE of '/svn/web/test': 200 OK (
https://domain)
While when I run an 'svn up' manually after, it just shows as committed as a new rev.
I've searched around on Google as well, but nothing seemed to solve the problem.. any idea what else I could try?
I only need 'svn up /var/www' to be ran after I commit something to my repo in /opt/svn/web/ Doesn't matter much in what way..
Thanks in advance

[/code]