简体   繁体   中英

SVN in Eclipse: Cannot commit certain folders

I'm using SVN within Eclipse. Whenever I change a file I commit the changes. It works for everything except for three certain folders (which contain certain files) I cannot commit. When trying to commit them I receive the following error message:

在此处输入图像描述

workspace\yp\src\yp\forum\locale\cs is one of the three uncommitable folders. The folder definitely doesn't exist on the server yet, but I get the above error each time I'm trying to upload it.

How do I solve the problem?

EDIT: I've deleted the .svn folders from the problematic directories. I still get the same error when trying to commit and the problematic directories have no .svn folders.

EDIT: I'm still trying to fix the problem. Now I get another error message when trying to commit:

在此处输入图像描述

EDIT: Now I've tried to do Team --> Cleanup and got that error message:

在此处输入图像描述

Move the problematic folders out of the way, then do Team->Update which will recreate the folders from the repository.

Then you can copy your changed files back.

This problem can arise when there are files in a folder checked into the repository that only differ in case - which is not supported in Windows. So it might be worthwile to look at the repository with a repository browser - if it is http:// then the web browser will do.

try deleting.svn folder in your pc and try adding folder or file again.

Extract your project from SVN to a new folder.

Erase all sourcecode files ( something like any file but.svn ) and replace with the ones from your previous working folder.

Try Team/Cleanup in Eclipse (right click in Project explorer or Navigator)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM