Office Subversion None. Such a file or directory. Can't open file.

Error message:

"svn: cannot open file '/Users/username/Projects/myproject/trunk/project/.svn/text-base/filetoupdate.h.svn-base': there is no such file or directory"

Question:

I have a problem: I replaced the file in the project (in Xcode) with a new file (for reference, and if that matters, the new file has the same name as the one I deleted earlier).

Now, when I try to commit my changes to Xcode, I get the error message above and cannot commit the changes (for example, add a new file).

In the file system view (in Xcode on the left side of the screen), the file has an R next to it (indicating "Replaced in the repository").

Does anyone know how to fix this so that I can commit files?

thank

+3
source share
4 answers

Something seems to be confused. To fix this, I just copied the corrupted files, saved them under a new name. The originals are removed from the project and the copied (renamed) version of the file is added to the project.

SVN doesn't seem to like it if you add and delete a file with the same name. I tried to clear SVN through the terminal, but this did not affect this problem. But changing the name really worked for me.

0
source

Subversion has an error or limitation when using case-insensitive file systems:

https://superuser.com/questions/303348/cant-checkout-in-subversion

, , . , . SVN , .

, , filetoupdate.h ( ) . . , SVN .svn/text-base , , ( ).

Subversion, (). SVN :

svn rm --keep-local --force FileToUpdate.h

, :

svn rm --keep-local filetoupdate.h

:

svn commit

, , :

svn add FileToUpdate.h

, .

+5

Mac Windows? , , , .

, Linux, "svn rm" .

+1

Your local version may have permissions. Verify that the user has write permissions for the .svn directories.

luck

0
source

All Articles