我无法撤销RTC中某些资源的更改,因为它们与“文件系统不同步”。请帮助 :( [英] I can't undo changes to some resources in RTC, because they're "out of sync with the file system". Help please :(

查看:216
本文介绍了我无法撤销RTC中某些资源的更改,因为它们与“文件系统不同步”。请帮助 :(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



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



任何人都有任何想法?



Thx

解决方案

您应该可以:








线程jazz.net 有更多的补充ete但危险的解决方案:



(序言: ehughes 建议在评论中:



不要重新加载

用户的Eclipse工作区具有文件系统的错误视图, 它只需要刷新

重新加载就像使用原子武器来杀死一只苍蝇。只是刷新!它很容易,快速,无痛!




重要的是是否与沙箱相关联的元数据与存储库中工作空间的元数据进行同步。

(它似乎与您同步的事实是不够的: - )。



正确的答案是重新加载,重新加载项目不同步操作。

根据我的经验,这将永远不会覆盖您的任何本地更改,绝对不会更改当前加载和与存储库中的内容同步的任何文件的日期戳。


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


但是,直到我们得到RTC SCM团队的确认, 重新加载同步操作将永远不会覆盖本地更改,在进行加载之前,我会将您的沙箱的副本存储在某个临时目录中,以防万一。







注意:同一个线程提到:


此错误消息应该被改进。

应该说如下:




 沙箱中的文件与您的存储库工作区不同步


$我已经提交了工作项目185778 以获得此固定。



I made changes to some files i had in a project (they were auto generated with a tool).

I want to roll back those changes, but when i click "undo" an error message appears, telling me that "Problems occurred running undo local changes", reason "Resource is out of sync with the file system".

Now i'd really like to undo my changes :|

Anyone have any ideas?

Thx

解决方案

You should be able to:


This thread on jazz.net has a more complete but dangerous solution:

(preface: ehughes does advise in the comment:

Don't reload!
The user's Eclipse workspace has the wrong view of the filesystem, it just needs to be refreshed.
Reloading for this is like using an atomic weapon to kill a fly. Just refresh! It's easy, quick, and painless!

)

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.

(actually it can erase/delete local changes)

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.


Note: that same thread mentions:

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.

这篇关于我无法撤销RTC中某些资源的更改,因为它们与“文件系统不同步”。请帮助 :(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆