CVS 在 Eclipse 中将所有文件显示为传出
我最近将我的开发工作站从 Windows 切换到 Linux (Fedora64)。我使用 Eclipse 与 PDT 和 CVS 进行 PHP 编程。我将整个项目文件夹(包括 .project 文件)复制到我的 Linux 系统中并将其导入到 Eclipse 中。它自动检测 CVS 服务器 IP 并登录。但是,当我同步时,它会将我的所有文件(> 8000)显示为传出,而且同步始终停留在 79%。如何在不再次从 CVS 中检查整个项目的情况下解决此问题?谢谢。
I recently switched my development workstation from Windows to Linux (Fedora64). I use Eclipse with PDT and CVS for PHP programming. I copied my entire project folder, including the .project file to my Linux system and imported it in Eclipse. It automatically detected the CVS server IP and login. However, when I sync, it shows all my files (>8000) as outgoing, and moreover the sync is always stuck at 79%. How do I fix this without checking out the entire project from CVS again? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是时间戳问题,现在与工作副本的隐藏 ./CVS 文件夹中记录的元数据稍微不同步。尝试在沙箱上运行
cvs status
(抱歉,我不熟悉 Eclipse 的 CVS 界面,但这就是您在命令行上执行此操作的方式)。这应该会重置据称已修改的文件。您也可能只需运行更新即可。如果所有其他方法均失败,请重新进行结账。
更新:我用 google 搜索了一下,发现一些文章可以解释为 Eclipse 在执行“更新”或“更新检查”时执行隐式
状态
。This might be an issue with timestamps that are now slightly out-of-sync with the meta data recorded in the hidden ./CVS folders of your working copy. Try running
cvs status
on your sandbox (sorry, I'm not familiar with Eclipse's CVS interface, but that's how you would do it on the command line). That should reset the supposedly modified files.You also might get away with simply running Update. If all else fails, do a fresh Checkout.
Update: I googled a little and found some articles that can be interpreted to say that Eclipse does an implicit
status
when doing an "Update" or "Update Check".