You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Stiles <jo...@warpmail.net> on 2008/09/29 16:50:21 UTC

Unclear error message in commit

The following steps lead to an “unexpected error” message from
Subversion 1.5.1 (client+server) when used with WebDAV. 

- svn co http://repositoryname/trunk/ --depth=empty
- cd trunk
- mkdir NameOfDirectoryThatAlreadyExists
- svn add NameOfDirectoryThatAlreadyExists
- svn ci -m”Committing new directory”

This leads to the following error:

Adding         F:\LocalRepository\trunk\NameOfDirectoryThatAlreadyExists
svn: Commit failed (details follow):                                     
svn: Server sent unexpected return value (405 Method Not Allowed) in
response to MKCOL request for
‘//!svn/wrk/cfd1f9e0-87b4-a941-8079-678508eca67e/trunk/
NameOfDirectoryThatAlreadyExists’

When using the SVN protocol, the error message is “File already exists,”
which is generally a much more useful response. (Technically it’s
“directory already exists,” but I’ll cut some slack on that one :)  )


PS Sorry if this is a double-post. I attempted to post this, but I
hadn't set up an email account yet, so I couldn't tell if it had gone
through.

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org