LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2011, 11:59 PM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
SVN commit error 200:0k


Hello all,

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:
Code:
svn ci -m "change file for hooks"
Sending        hello.php
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE of '/svn/newrepo': 200 OK (http://<live-ip-of-my-server>)
 
Old 03-25-2011, 12:11 PM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Nevermind. Did it. The environment variables are not set when running. So needed to check for UTF thing. And it took time because I was not running the script as root and hence missing on the errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to do the first svn commit cstrieder Linux - General 1 01-20-2011 08:29 AM
SVN Bazaar error: Unable to handle http code 401: expected 200 or 404 for full respon vikramtheone Linux - Newbie 0 07-02-2010 09:10 AM
[SOLVED] apache2 SVN post-commit script certificate error Matt202 Linux - Server 5 10-13-2009 04:55 AM
svn: Commit failed Error? your_shadow03 Linux - Server 1 06-10-2009 02:27 AM
svn won't let me commit ixhabbaba Linux - Software 0 06-21-2008 08:44 AM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration