错误:系统找不到指定的文件
我只是像平常一样工作。突然我的提交出现了这个错误:
Commit failed (details follow):
Can't open file
'C:\\...\\map\\.svn\text-base\\addressMatcher.php.svn-base':
The system cannot find the file specified.
我没有对我的 subversion 文件夹做任何可疑的事情,并且清理也没有帮助。
我该如何解决这个问题/我该怎么办?
编辑:我刚刚窥探了 SVN 文件夹,并注意到上述文件出于某种原因被称为“addressmatcher.php3.svn-base
”。
我闻到 Eclipse 重命名操作失败的味道。
将文件重命名为正确的文件名会产生校验和错误,因此我撤消了该操作。
有什么建议可以帮助我解决这个问题,而不必执行干净的结帐并修补所有内容吗?
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.
I smell failed renaming operations by Eclipse.
Renaming the file to the correct filename gives a checksum error, so I undid the operation.
Any advice on how I might fix this without having to perform a clean checkout and patching everything over?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
嗨,我今天遇到类似的问题。
我用简单的方法来解决这个问题。
我查找该文件夹下不存在该文件。所以我只是从其他文件复制一个 svn-base 并将其重命名为 24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base。然后执行清理操作。
之后我遇到了另一个文件丢失。使用相同的方式,最后我解决了这个问题。
希望它可以帮助你
换句话说解决方案是
复制 svn-base 文件并使用缺少的文件名重命名。
Hi i meet similar problem today.
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.
正如您所看到的,这是一个案例问题(详见SO问题“无法打开 .svn/text-base/file.svn-base ?")
一条评论建议:
As you saw, this is a case issue (detailed in SO question "Can't open .svn/text-base/file.svn-base ?")
One comment suggests:
断开项目【Team->Disconnect】,选择删除svn元数据。
然后重新连接[团队->共享项目]项目,在存储库中选择正确的文件夹。
Eclipse 将签出(下载)HEAD 修订版,所有内容都将得到修复。
警告,这可能(并且可能会)删除您从现在到上次提交之间所做的任何操作。如果有疑问,我建议硬复制您更改的源。
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.