java - 我无法撤消对 RTC 中某些资源的更改,因为它们是 "out of sync with the file system"。请帮助:(

标签 java eclipse versioning rtc

我对项目中的一些文件进行了更改(它们是使用工具自动生成的)。

我想回滚这些更改,但是当我单击“撤消”时,会出现一条错误消息,告诉我“运行撤消本地更改时发生问题”,原因是“资源与文件系统不同步”。

现在我真的很想撤消我的更改:|

大家有什么想法吗?

谢谢

最佳答案

您应该能够:


这个thread on jazz.net有一个更完整但危险的解决方案:

(前言:ehughes在评论中提出建议:

不要重新加载!
用户的 Eclipse 工作区的文件系统 View 错误,只需刷新即可。
重新装弹就像用原子武器杀死一只苍蝇一样。刷新即可!它简单、快速、无痛!

)

What matters is whether the metadata associated with the sandbox is synchronized with the metadata about the workspace in the repository.
(The fact that it seems in sync to you is not sufficient :-).

And the right answer is to re-load, with the "reload projects out of sync" action.
In my experience, this will never overwrite any of your local changes, and it definitely will not change the date stamp on any file that is currently loaded and in-sync with what is in the repository.

(实际上它可以删除/删除本地更改)

But until we get confirmation from the RTC SCM team that the "re-load out of synch" operation will never overwrite local changes, I'd store a copy of your sandbox in some temp directory before doing the load, just in case.


注意:同一线程提到:

this error message should be improved.
It should say something like:

Files in your sandbox are out of sync with your repository workspace

I've submitted work item 185778 to get this fixed.

关于java - 我无法撤消对 RTC 中某些资源的更改,因为它们是 "out of sync with the file system"。请帮助:(,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9804000/

相关文章:

java - 将包私有(private)类导入 JShell

java - 如何在关闭 xchart 图表时不关闭整个 JVM

java - Eclipse包名以com开头

node.js - 如何在 npm 中升级全局包的依赖项

java - 尽管 ID 已更改为 _id,但列 '_id' 不存在

java - 在 Java 中获取括号内的参数并将其添加到列表中

java - 从 Eclipse 中的 Active Help 页面启动向导

java - Eclipse中Hibernate空指针异常

mysql - 使用 InnoDB 进行全文搜索

.net - 维护程序集版本号的最佳实践/指南