I have installed SVN and running it fine. Update and commit and all are running without issues and running it under DAV from apache on Ubuntu server.
Now I need to run post-commit hook to auto update a testing staging server to test the changes. Without post-commit hook, everything works fine. The post-commit hook if run individually as a script manually runs fine without issues and it updates the said working copy. But if it is run by SVN, it somehow does not run and gives error to the client from where commit was done. This is the error I get for the post-commit script:
svn ci -m "change file for hooks"
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE of '/svn/newrepo': 200 OK (http://<live-ip-of-my-server>)