I'm just working as normal. Suddenly my commit gets this error:
Commit failed (details follow):
Can't open file
'C:\\...\\map\\.svn\text-base\\addressMatcher.php.svn-base':
The system cannot find the file specified.
I have done nothing fishy with my subversion folders, and cleanup doesn't help.
How do I fix this / What do I do?
Edit: I just snooped in the SVN folder and noticed that the aforementioned file is called "addressmatcher.php3.svn-base
" for some reason.
Hi i meet similar problem today.
cannot find the file \.svn\pristine\24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base
And i use the simple way to fix this problem.
i look up this file did not exist under that folder.so i just copy a svn-base from other file and rename this with 24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base.And then do the clean up operation. After that i meet another file missing.using the same way and at last i fix this problem. Hope it can help you
in other words the solution is copy a svn-base file and rename with the missing files name.
As you saw, this is a case issue (detailed in SO question "Can't open .svn/text-base/file.svn-base ?")
One comment suggests:
It happened to me in a subfolder within a much more massive folder.
Instead of wiping out my entire project, I was able to "fix" it by deleting the subfolder from the commandline, and then doing asvn update
, which restored the missing subfolder.
Disconnect the project [Team->Disconnect], and choose to delete svn metadata.
Then reconnect [Team->Share project] the project, choosing the right folder in the repository. Eclipse will checkout (download) the HEAD revision and everything will be repaired.
WARNING, this may (& probably will) delete anything you did between now and the last commit. I suggest hard copying your changed sources if in doubt.
精彩评论