Gabriel Solomon
Gabriel Solomon

Reputation: 30075

Subversion commit failed Merge of file: 200 OK

I am having the strangest problem ... every time i commit i get and error like this:

commit failed (details follow): MERGE of '/svn/project/trunk/web/directory/': 200 OK (http://mydomain.com)

that is the directory of the file i modified.

Later Edit i have web dav SVN installed and i commit to a HTTP URL. and there is a post commit hook doing a svn update on a directory on the same machine

Any ideas ? thank you for your help.

Upvotes: 20

Views: 15223

Answers (9)

Kai Chang
Kai Chang

Reputation: 1

Below steps works with me

  1. execute the program called 'TortoiseSVN Repository Browser' in your computer.
  2. It prompts the certificate was failed, and asks me to log in and restore the certificate
  3. After log in, everything was fine

Upvotes: 0

Flavio Suligoi
Flavio Suligoi

Reputation: 41

This is a post-commit related error.

Debug your post-commit script, generally inside your repository directory:

.../projectname/svn/hooks/post-commit

In the past I had a similar error message due to a syntax error in a post-commit email script

Flavio

Upvotes: 3

user964903
user964903

Reputation: 11

I recently had this problem, and the solutions mentioned didn't solve it.
In my instance, I could commit individual files using Tortoise SVN, but all commits were failing using subclipse.
The issue was caused by my antivirus or firewall, Kaspersky. Pausing this resolved the issue.

Unfortunately, setting the svn clients as trusted does not solve the issue. I believe that this is a potential bug in the 2012 version of Kaspersky. (See here)

Upvotes: 1

Josan
Josan

Reputation: 11

Try enabling Proxy Server in Tortoise, under Settings/Network option.

Upvotes: 1

hleduc
hleduc

Reputation: 23

I saw this article could help resolve this issue : http://cntrint.blogspot.com/2009/08/subversion-autodeploy-post-commit-hook.html

Upvotes: 0

ArturMustafin
ArturMustafin

Reputation: 1

you need to add directoty which generates error, to the subversion.

Upvotes: 0

Yantao Xie
Yantao Xie

Reputation: 12906

I've encountered the same problem when I had made many changes and prepared to commit to CodePlex. I've tried do it on command line, but failed too. I have to revert my project and split my changes to some smaller ones and commit one by one. Then it's OK.

But I doesn't know WHY.

Upvotes: 1

Andrew Flanagan
Andrew Flanagan

Reputation: 4277

I found this and this on Google... Might be helpful?

Looks like it's tied to the post-commit failing. However, it's probably actually committed.

Upvotes: 4

Jerod Venema
Jerod Venema

Reputation: 44642

You'll get that error if your post-commit is failing. Try running it from the command line with the same args to make sure it works properly. I had this error a week or two ago when my python script was erroring out.

Upvotes: 28

Related Questions