HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   auto update svn working copy (http://www.howtoforge.com/forums/showthread.php?t=46466)

donix 9th June 2010 20:59

auto update svn working copy
 
Hello.. I have a working ISPConfig 3 server with subversion(http://www.howtoforge.com/the-perfec...ny-ispconfig-3)

I want to use svn to update a php-project, and therefore I added a repo. I got it working locally on my PC and added a working copy for the php-project on my server. Now I want the working copy on the server to auto update when I commit on my PC. I found the post-commit in my repo and added following:

Code:

cd /var/www/mydomain.com/web/
svn update

If I type this in ssh my working copy is updated. But when I commit on my PC I get this error from TortoiseSVN:

Code:

Commit failed (details follow):
MERGE of '/svn/myrepo': 200 OK (http://mydomain.com)

I've tried to chmod 777 -R web/ and still gets the error. It seems like the commit worked if I manually update my working copy.


All times are GMT +2. The time now is 05:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.