TortoiseSvn error : the same name as the administrative directory

左心房为你撑大大i 提交于 2019-12-22 08:35:28

问题


I am working with TortoiseSVN. I've performed a checkout to an empty folder. Some files get transferred but then, at some point I receive the following error:

Error: Failed to add directory 'D:\code\Website\ClientBin_svn': object of
Error: the same name as the administrative directory

I tried deleting the folder and checking out the project to a different directory. It doesn't work. When I try to check out the project on a different computer on a different lan it works fine. Any ideas?

Thanks, vondiplo


回答1:


You have a file or folder named "_svn" or ".svn" in your repository. This is a bad idea because your subversion client already uses one of those as a reserved name for storing meta-data inside your local working copies.

Open the repository browser, locate the evil file or folder in the repository, and delete (or rename) it.




回答2:


See if you have configured TortoiseSVN to use _svn instead of .svn.

This is a per installation configuration options, and can thus be different from one computer to the next.

Right-click in a folder, open the TortoiseSVN menu, and select Settings. The tab named "General", at the bottom, should have that checkbox.

Now, I don't think it is that checkbox, since you say the name is "ClientBin_svn", but that was the first thing that hit me.

The administrative directory of Subversion is the hidden .svn directory that gets created containing the svn working copy data.



来源:https://stackoverflow.com/questions/923375/tortoisesvn-error-the-same-name-as-the-administrative-directory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!