How to fix this Subversion MKCOL error?

When I make a mistake, I get this error from Subversion:

bash-2.05b$ svn commit -m "testing subversion, still" Adding baz svn: Commit failed (details follow): svn: MKCOL of '/viper/!svn/wrk/6b9bcd38-b2fe-0310-95ff-9d1a44098866/sandboxes/ohammersmith/trunk/baz': 405 Method Not Allowed (http://svn.example.com) 
+50
svn
Sep 19 '08 at 3:46
source share
2 answers

This happens if you add a directory that someone else has added and already committed. The error message in the commit is really confusing, but if you do svn up , you will see this message:

 bash-2.05b$ svn up svn: Failed to add directory 'baz': object of the same name already exists 

To fix the problem, delete your directory (or set it aside) and do svn update to get the version on the server and make changes.

As a rule, do not forget to do svn update , as error messages are usually more useful.

+77
Sep 19 '08 at 3:50
source share

This happens if you add a directory that someone else has added and already committed.

This is what indicates a conflict, but at the Directory level (just for understanding).

To solve this problem, just svn update before making changes

+8
Jun 22 '16 at 10:38
source share



All Articles