MKCOL … 405 Method Not Allowed Subversion error

I use DreamHost to store and manage all my Subversion repositories. When trying to commit a while back, I got this strange error:

svn: Commit failed (details follow):
svn: MKCOL of '.../images': 405 Method Not Allowed

Searching around, I managed to find a couple of reasons this could occur — wrong charset or a connectivity problem (proxy discarding the MKCOL command). I’m not behind a proxy so I tried passing a charset parameter but that didn’t really help.

What finally helped was deleting the problematic “images” directory in the repository and re-commiting the directory. I use TortoiseSVN so it was as simple as using the Repo-Browser, right-clicking on the problematic directory and deleting it. The commit went through just fine after this.


3 Comments

RishiMay 28th, 2009 at 6:12 pm

Hi Mikhail,

Same worked for me. Thanks a lot for posting the suggestion.

Rishi

MichaelJuly 28th, 2009 at 8:42 pm

Thank you for posting this, specifically the solution utilizing TortoiseSVN. This saved me a lot of extra hassle.

RhaadSeptember 7th, 2009 at 7:50 pm

Thank you so much! You are a life saver. And the TortoiseSVN way of deleting directories was indeed very convenient.

Leave a comment

Your comment