错误:系统找不到指定的文件

发布于 2024-11-09 09:51:35 字数 485 浏览 0 评论 0原文

我只是像平常一样工作。突然我的提交出现了这个错误:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

安静 2024-11-16 09:51:35

嗨,我今天遇到类似的问题。

cannot find the file \.svn\pristine\24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base

我用简单的方法来解决这个问题。

我查找该文件夹下不存在该文件。所以我只是从其他文件复制一个 svn-base 并将其重命名为 24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base。然后执行清理操作。
之后我遇到了另一个文件丢失。使用相同的方式,最后我解决了这个问题。
希望它可以帮助你

换句话说解决方案是
复制 svn-base 文件并使用缺少的文件名重命名。

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.

停滞 2024-11-16 09:51:35

正如您所看到的,这是一个案例问题(详见SO问题“无法打开 .svn/text-base/file.svn-base ?")

一条评论建议:

它发生在我身上一个更大的文件夹中的子文件夹中。
我没有清除整个项目,而是通过从命令行删除子文件夹,然后执行 svn update 来“修复”它,这恢复了丢失的子文件夹。

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 a svn update, which restored the missing subfolder.

像你 2024-11-16 09:51:35

断开项目【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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文