Search code examples
svnhookpost-commit

Subversion commit failed Merge of file: 200 OK post-commit hook


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?


Solution

  • 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