如何在文件系统中使用具有相同文件的 TortoiseSVN 和 Subversive Eclipse 插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20567207/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use TortoiseSVN and Subversive Eclipse plugin with same files in filesystem?
提问by duckhunt
I followed this asked questionin order to integrate both, TortoiseSVN and Subversive Eclipse plugin. So i′ve tried this two paths.
我按照这个问题来集成 TortoiseSVN 和 Subversive Eclipse 插件。所以我试过这两条路。
- Check out my SVN Project with Tortoise SVN
- Import with Eclipse IDE
File -> Import -> Existing Porjects into Workspace
. - Open Eclipse perspective SVN Repository Exploring and added my
SVN repository
.
- 使用 Tortoise SVN 查看我的 SVN 项目
- 使用 Eclipse IDE 导入
File -> Import -> Existing Porjects into Workspace
。 - 打开 Eclipse 透视 SVN Repository Exploring 并添加了我的
SVN repository
.
But I don′t know how to have the subversive options when I right click on my Java Project in Project Explorer. They aren′t binded.
但是当我在项目资源管理器中右键单击我的 Java 项目时,我不知道如何拥有颠覆性选项。它们不受约束。
The other path.
另一条路。
- Import with Eclipse IDE
File -> Import -> SVN -> Project from SVN
- 使用 Eclipse IDE 导入
File -> Import -> SVN -> Project from SVN
This is O.K and I can make commit and update to my project but the project folder it′s not administrable with Tortoise SVN.
这没关系,我可以提交和更新我的项目,但项目文件夹不能用 Tortoise SVN 管理。
I missed some step. Please help!
我错过了一些步骤。请帮忙!
采纳答案by Konstantin Komissarchik
If you import projects that are under control of a source control system using "File -> Import -> Existing Porjects into Workspace", you can hookup Eclipse source control integration by right-clicking on the project and using the "Team -> Share" menu. Find SVN under there and go from there.
如果使用“文件 -> 导入 -> 现有项目到工作区”导入受源控制系统控制的项目,则可以通过右键单击项目并使用“团队 -> 共享”来连接 Eclipse 源控制集成菜单。在那里找到 SVN 并从那里开始。
回答by Lo?c Gammaitoni
The subversive Eclipse plugin is the Eclipse integration of a SVN client.
颠覆性的Eclipse插件是一个SVN客户端的Eclipse集成。
You thus don't need to checkout your project with tortoise SVN.
因此,您无需使用 tortoise SVN 来检查您的项目。
Instead, once you have installed subversive and an SVN connector, just create a new repository location in your svn repository view and checkout your project from there.
相反,一旦您安装了 subversive 和 SVN 连接器,只需在您的 svn 存储库视图中创建一个新的存储库位置并从那里检出您的项目。
once the project is checked using subversive (and not tortoise) you will have all the subversive options.
一旦使用颠覆性(而不是乌龟)检查项目,您将拥有所有颠覆性选项。
Another way to do it, is to right click on the project / TEAM / connect project.
另一种方法是右键单击项目/团队/连接项目。