恢复Eclipse subversion项目连接 [英] Restore Eclipse subversion project connection
问题描述
我意识到我可以删除本地副本并再次查看,但我宁愿明白出了问题 - 解决问题,而不是掩盖症状。 Eclipse在哪里存储哪些项目受版本控制的知识?我查看了 .project
文件和 .settings
目录,但看不到任何明显提到的svn性质或者任何类似的,即使在仍然正常工作的项目中。
如果您使用sublipse作为SVN提供商,我推荐执行以下
团队 - >共享项目通常足以连接元数据。
(也就是说,假设.svn文件仍然在那里,如果你可以在命令行工作,他们似乎是这样)。
希望这有助于为什么会发生这种情况我有不知道
I have a project in subversion, which I'm developing using Eclipse. I did the original checkout from the svn repository from inside Eclipse. All was well for some weeks then for some unknown reason, Eclipse (specifically: subclipse in Ganymede) no longer recognizes my project as being under svn control. The team context-menu only shows the basic "apply patch" / "share this project" menu options. From the shell, I can still update the project using the svn command line tools, so I know that the svn credentials still work. Other projects under subversion in the same copy of Eclipse still work.
I realise that I can delete the local copy and check it out again, but I'd rather understand what has gone wrong - fix the problem, rather than mask the symptoms. Where does Eclipse store its knowledge of which projects are under version control? I looked at the .project
file and the .settings
directory, but couldn't see any obvious mention of svn nature or anything similar, even in the projects that are still working properly.
If you are using sublipse as your SVN provider I recommend doing the following
Team -> Share project is usually enough to connect the metadata.
(that is, assuming that the .svn files are still there which they seem to be if you can work on the command line).
Hope this helps as to why this would happen I have no idea
这篇关于恢复Eclipse subversion项目连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!