How can svn co give a "directory already exists error"?

svn

Solution

I may have seen this problem before when somebody had committed the .svn directory itself to the repository. Thus, when trying to create the working directory, the versioned .svn directory couldn't be created because the working directory already had its own .svn directory.

Problem

``` svn co svn+ssh://myhost/path/projectname/trunk projectname [...] svn: Failed to add directory 'projectname/test/.svn': an unversioned directory of the same name already exists ``` How is that possible?? I'm checking out into an empty dir. Same error checking out to Windows and OS X.

Original source