Subclipse 和 Tortoise SVN 结合在一起
这两个 SVN 客户端可以协作吗? 我已经使用 Tortoise 检查了我的项目,但现在我希望能够从 Eclipse 内部使用 SVN 功能(主要是更新和提交)。 但是 Subcipse 看不到 Tortoise 签出的文件的 SVN 状态。
我正在用 Tortoise 和 MSVS 插件 Ankh SVN 做类似的事情,效果很好。 但现在我需要它在 Eclipse 中工作...
谢谢
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.
I'm doing similar with Tortoise and MSVS plugin Ankh SVN and it works great. But now I need it to work in Eclipse...
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
他们合作得很好。
唯一需要注意的是:确保它们都使用相同的底层颠覆版本! 当您第一次运行包含主要更新的修订版时,Subversion 会更新其目录并重新格式化 .svn 目录。 这意味着,当您升级时,您必须小心 subeclipse 和 tortoise 都发布了具有匹配的底层 subversion 更新的新版本。
由于我一直在使用两者,因此有两个更新破坏了与底层 .svn 目录的兼容性,因此请务必小心!
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.
Since I've been using both, there have been two updates that break the compatability with the underlying .svn directories, so do be careful!
当您从 Subversion 检出代码以创建“沙箱”时,这些目录都包含 .svn 目录中的元数据。 您尝试针对“沙箱”使用的任何客户端都将(假设客户端版本不在服务器后面)读取元数据并了解沙箱的状态以及如何相对于服务器对其进行管理。
所以...是的,它会工作得很好;)
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.
So ... Yes, it will work just fine;)
这对我来说可以。 请始终将两者更新到最新版本,因为如果特定客户端创建的文件与早期版本不兼容,则可能会出现问题。
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.
注意前面提到的版本。 例如,Tortoise (1.8.2) 在 Eclipse 端需要 Subversion 1.10。 更新站点:http://subclipse.tigris.org/update_1.10.x
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