[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Unclear error message in commit

From: John Stiles <johnstiles_at_warpmail.net>
Date: Mon, 29 Sep 2008 09:50:21 -0700

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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-29 19:19:03 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.