将现有 Eclipse 项目与现有 SVN 存储库相关联 [英] Associating existing Eclipse project with existing SVN repository
问题描述
我的硬盘上有一个 eclipse 项目,这是最近从 SVN 存储库中检出的.我已将此项目导入我的 Eclipse 工作区,现在想将它与 SVN 存储库相关联.
I have an eclipse project on my hard disk, which is a fairly recent check out from an SVN repository. I've imported this project into my Eclipse workspace, and now want to associate it with the SVN repository.
我该怎么做?我似乎在右键单击 -> 团队下唯一的选项是共享项目",这似乎只允许我进行初始导入.
How do I do this? The only options I seem to have under Right-click -> Team is "Share Project", which only seems to allow me to do an initial import.
动机 - 这是一个较大的存储库,我真的不想通过网络导入整个内容.
Motivation - It's a largish repository, and I don't really want to have to import the whole thing over the network.
编辑 2:(出于某种原因)项目中没有 .svn 目录.所以也许从 svn 重新导入是唯一的选择
Edit 2: There are (for some reason) no .svn dirs in the project. So maybe a fresh import from svn is the only option
推荐答案
Team->Share project
正是您需要做的.从列表中选择 SVN,然后单击下一步".Subclipse 会注意到 .svn 目录的存在,它会要求您确认信息是否正确,并将项目与 subclipse 相关联.
Team->Share project
is exactly what you need to do. Select SVN from the list, then click "Next". Subclipse will notice the presence of .svn directories that will ask you to confirm that the information is correct, and associate the project with subclipse.
这篇关于将现有 Eclipse 项目与现有 SVN 存储库相关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!