Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request error in svn

The error pops up when trying to commit to the repository.

This SVN error happens when trying to add the directory/file to the repository while the directory is already existing.

It can happen when one of the coworker creates a directory and commits and the other one tries the same task [svn add directory/file] without updating from trunk first.

Solution

A couple of options are there for this.

1. Update to the repository and deal with the conflicts if there are any.
2. if the created directory is assumed to be redundant, delete the directory and recommit it.

Also: Checkout how to identify changes in SVN