0

I modified our original repo for the dev checkout portion of our site. I tested the repo and all functions works properly. When I enabled the post-commit hook:

#!/bin/sh
/var/www/repos/XXXXX/autoupdate/autoupdate (which is a simple C compiled)

I keep getting this Subversion commit failed Merge of file: 200 OK error:

Commit failed (details follow):
MERGE of '/repos/XXXX_new/trunk': 200 OK (http://s15399220.onlinehome-server.com)

If I run the executable by hand it works fine and updates my dev checkout properly. I understand this error is misleading and that the commit works properly and that it is the hook that fails.

Can any one help with this?

user2733937
  • 11
  • 1
  • 5

2 Answers2

0

Have a look at my answer to a similar question.

You might have better luck if you put debug messages into your post-commit hook so that you can see where exactly it is failing. Not sure why you're conducting a merge in the post-commit hook but that is a recipe for problems down the line.

Community
  • 1
  • 1
Sameer Singh
  • 1,358
  • 1
  • 19
  • 47
  • @user2733937 Can you tell us what was the issue and what you did to solve it? Other people who search Stackoverflow for issues similar to user will benefit from your insight. Plus, you can _accept_ your answer and gain reputation points. – David W. Sep 03 '13 at 17:19
0

For those who still experience this problem and tried everything :

The problem in my case was the type of checkout svn co http://.... instead of svn co file:///path_to_repo

user2733937
  • 11
  • 1
  • 5