eclipse Subclipse 和 Tortoise SVN 在一起
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/362784/
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
Subclipse and Tortoise SVN together
提问by Matěj Zábsky
Can these two SVN clients collaborate? I have my projects checked out with Tortoise, but now I would like to be able to use the SVN functionality (mostly updating and committing) from inside Eclipse. But the Subcipse doesn't see the SVN status of the files checked out by Tortoise.
这两个SVN客户端可以合作吗?我用 Tortoise 检验了我的项目,但现在我希望能够从 Eclipse 内部使用 SVN 功能(主要是更新和提交)。但是 Subcipse 没有看到 Tortoise 检出的文件的 SVN 状态。
I'm doing similar with Tortoise and MSVS plugin Ankh SVN and it works great. But now I need it to work in Eclipse...
我正在用 Tortoise 和 MSVS 插件 Ankh SVN 做类似的事情,而且效果很好。但现在我需要它在 Eclipse 中工作......
Thanks
谢谢
采纳答案by Steve Moyer
When you check code out of Subversion to create a "sandbox", the directories all contain meta-data in the .svn directory. Any client you try to use against the "sandbox" will (assuming the client version is not behind the server), read the meta-data and understand the state of the sandbox and how to manage it with respect to the server.
当您从 Subversion 检出代码以创建“沙箱”时,目录都包含 .svn 目录中的元数据。您尝试针对“沙箱”使用的任何客户端都将(假设客户端版本不在服务器后面),读取元数据并了解沙箱的状态以及如何相对于服务器对其进行管理。
So ... Yes, it will work just fine;)
所以......是的,它会工作得很好;)
回答by Kieveli
They work great together.
他们一起工作得很好。
The one caveat: Make sure they're both using the same underlying subversion revision! Subversion updates it's directories and reformats the .svn directories the first time you run a revision with major updates. What this means is that when you upgrade you have to be careful that both subeclipse and tortoise have released new versions with the matching underlying subversion updates.
一个警告:确保它们都使用相同的底层颠覆版本!Subversion 会在您第一次运行带有主要更新的修订版时更新它的目录并重新格式化 .svn 目录。这意味着当你升级时你必须小心 subeclipse 和 tortoise 都发布了具有匹配底层 subversion 更新的新版本。
Since I've been using both, there have been two updates that break the compatability with the underlying .svn directories, so do be careful!
由于我一直在使用两者,因此有两个更新破坏了与底层 .svn 目录的兼容性,所以要小心!
回答by kgiannakakis
It works fine for me. Always update both to the latest version, since there might be a problem if the files created by a specific client are incompatible with an earlier version.
这对我来说可以。始终将两者都更新到最新版本,因为如果特定客户端创建的文件与早期版本不兼容,则可能会出现问题。
回答by Rix Beck
Watchout for versions as mentioned before. For example Tortoise (1.8.2) requires Subversion 1.10 at Eclipse side. Update site: http://subclipse.tigris.org/update_1.10.x
注意前面提到的版本。例如 Tortoise (1.8.2) 在 Eclipse 端需要 Subversion 1.10。更新站点:http: //subclipse.tigris.org/update_1.10.x