Eclipse、Subclipse 和 Subversive 的 SVN 插件的优缺点是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/61320/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 18:22:23  来源:igfitidea点击:

What are the pros and cons of the SVN plugins for Eclipse, Subclipse and Subversive?

svneclipsesubclipsesubversive

提问by rjmunro

SVN in Eclipse is spread into two camps. The SVN people have developed a plugin called Subclipse. The Eclipse people have a plugin called Subversive. Broadly speaking they both do the same things. What are the advantages and disadvantages of each?

Eclipse 中的 SVN 分为两大阵营。SVN 开发人员开发了一个名为Subclipse的插件。Eclipse 人员有一个名为Subversive的插件。从广义上讲,他们都做同样的事情。各自的优缺点是什么?

采纳答案by Brendon-Van-Heyzen

Both are very similar but Subversive is the "eclipse svn provider". I primarily use Subversive because of a few convenient features:

两者非常相似,但 Subversive 是“eclipse svn provider”。我主要使用 Subversive 是因为有一些方便的功能:

Grouping of history

历史分组

When I'm browsing the history of a branch instead of just seeing a bunch of rows for every commit it can group commits by today, week, etc.

当我浏览一个分支的历史记录而不是只看到每次提交的一堆行时,它可以按今天、星期等对提交进行分组。

Mapping of trunk, branches, and tags

树干、分支和标签的映射

Subversive assumes the default svn layout: trunk, branches, tags (which you can change), so whenever you want to tag or branch it is one click and you provide the name of the tag or branch.

Subversive 假定默认 svn 布局:主干、分支、标签(您可以更改),因此无论何时您想要标记或分支,只需单击一下,您就可以提供标签或分支的名称。

Like I said these are minor differences that I just find convenient. Both work great with mylyn, but overall there really isn't a whole lot of differences with these two extensions.

就像我说的,这些是我觉得很方便的细微差别。两者都适用于 mylyn,但总体而言,这两个扩展确实没有太大区别。

Merging with Subversive is a pain though (haven't tried Subclipse), I've never been able to successfully merge. The preview of the merge is great but it would never complete the merge or it will take way to long. Most of the time I complete merging through the command line without any issues.

尽管与 Subversive 合并很痛苦(还没有尝试过 Subclipse),但我一直无法成功合并。合并的预览很棒,但它永远不会完成合并,否则会花费很长时间。大多数情况下,我通过命令行完成合并,没有任何问题。

回答by Mark Phippard

I will take a crack at answering this. I am a project lead for Subclipse, and I manage all of the releases, etc. for the project. So my biases are obvious.

我会尝试回答这个问题。我是 Subclipse 的项目负责人,负责管理该项目的所有发布等。所以我的偏见是显而易见的。

I am not going to talk too much about Subversive. Clearly, there are users that use it and like it. Functionally the products are very similar as both are mature products.

我不会过多谈论 Subversive。显然,有用户使用它并喜欢它。从功能上来说,这两款产品非常相似,因为两者都是成熟的产品。

One thing I do want to comment on is this notion that somehow Subversive is the "official Eclipse" plugin. That is just not true, as there is no such designation. Eclipse is an open-source foundation and any project that wants to follow their rules, process and IP requirements, etc. can host their project with the foundation. That does not make you any more or less official than any other plugin.

我想评论的一件事是,Subversive 不知何故是“官方 Eclipse”插件。这不是真的,因为没有这样的名称。Eclipse 是一个开源基金会,任何想要遵循其规则、流程和 IP 要求等的项目都可以通过该基金会托管他们的项目。与任何其他插件相比,这不会使您变得更加正式或不那么正式。

I will also note that Subversive has remained in the "Incubation" phase since its inception, and it does not appear to me that it will ever meet the requirements for graduation. As you can see here, there has been only one committer on the project and commit activity has dwindled to very low levels.

我还要指出,Subversive 自成立以来一直处于“孵化”阶段,在我看来,它永远不会满足毕业要求。正如您在此处看到的,该项目只有一个提交者,并且提交活动已减少到非常低的水平。

Subversive - SVN Team Provider

Subversive - SVN 团队提供者

So why should you use Subclipse? We are actively involved with Subversion itself. I am a Subversion PMC member and help maintain the Java language bindings so that we (and other projects like Subversive) can use the API.

那么为什么要使用 Subclipse 呢?我们积极参与 Subversion 本身。我是 Subversion PMC 的成员,帮助维护 Java 语言绑定,以便我们(以及其他项目,如 Subversive)可以使用 API。

We work directly with Subversion to define and improve the API and make sure necessary features are exposed to clients like Subclipse. We also work closely and collaborate with the Visual Studio integration (AnkhSVN) and TortoiseSVN teams to make sure there is a relatively consistent user experience across clients.

我们直接与 Subversion 合作来定义和改进 API,并确保向像 Subclipse 这样的客户端公开必要的功能。我们还与 Visual Studio 集成 ( AnkhSVN) 和 TortoiseSVN 团队密切合作,以确保跨客户端的用户体验相对一致。

Subclipse is still actively maintained and we maintain support for Eclipse versions 3.2 to 4.2. We are always trying to listen to feedback and incorporate ideas from the community. The recent 1.8.x releases include internal changes that greatly improve performance of Eclipse when working with large projects (that is when you really see it).

Subclipse 仍在积极维护中,我们保持对 Eclipse 版本 3.2 到 4.2 的支持。我们一直在努力听取反馈并吸收来自社区的想法。最近的 1.8.x 版本包括内部更改,这些更改在处理大型项目时(即您真正看到它时)极大地提高了 Eclipse 的性能。

Subclipse has led the way in areas like merge tracking support, where we worked closely with the Subversion team in first adding this feature in 1.5 and then evolving it in subsequent releases. We were often the initial consumers of new API and provided the project with the feedback needed to harden the feature. We also introduced a graphical revision graph feature a couple years ago, becoming the first to bring this long asked for feature to Eclipse users.

Subclipse 在合并跟踪支持等领域处于领先地位,我们与 Subversion 团队密切合作,首先在 1.5 中添加此功能,然后在后续版本中对其进行改进。我们通常是新 API 的最初使用者,并为项目提供强化功能所需的反馈。几年前,我们还引入了图形修订图功能,成为第一个将这一期待已久的功能带给 Eclipse 用户的公司。

If there are specific UI features in Subversive that people would like to see made in Subclipse, I would encourage you to visit our community and engage in our discussion forums. Maybe other users share your views and we can improve the UI together.

如果人们希望在 Subclipse 中看到 Subversive 中的特定 UI 功能,我会鼓励您访问我们的社区并参与我们的论坛。也许其他用户会分享您的观点,我们可以一起改进 UI。

Forum [Subclipse-users].

论坛[Subclipse-用户]

Eclipse 4.2 is the latest release at the time of this post, but it is safe to assume that Subclipse will support all future Eclipse releases as they are made.

Eclipse 4.2 是本文发布时的最新版本,但可以安全地假设 Subclipse 将支持所有未来的 Eclipse 版本。

回答by Ciera

With every new version of Eclipse, I install Subversive, because it's the standard provided by Eclipse. And every time, it has issues recognizing my pre-existing projects.

对于 Eclipse 的每个新版本,我都会安装 Subversive,因为它是 Eclipse 提供的标准。每一次,它都会在识别我之前存在的项目时遇到问题。

So I end up uninstalling Subversive and installing Subclipse instead, which works marvellously. I also frequently use SVN from the command line as well as in Eclipse, and Subclipse has no problems with this.

所以我最终卸载了 Subversive 并安装了 Subclipse,这非常有效。我也经常在命令行和 Eclipse 中使用 SVN,Subclipse 对此没有任何问题。

回答by Ciera

After reading this post, I changed to Subclipse hands down.
http://eclipsezone.com/eclipse/forums/t77149.rhtml#92035407

读完这篇文章后,我改用 Subclipse 了。
http://eclipsezone.com/eclipse/forums/t77149.rhtml#92035407

回答by ChrisH

If you do much merging with Subversion then you will probably prefer CollabNet Desktop - Eclipse Edition. You have to register an account with CollabNet to get the download, but it is free. It is essentially Subclipse with a better merge UI.

如果您与 Subversion 进行了大量合并,那么您可能更喜欢 CollabNet Desktop - Eclipse Edition。您必须在 CollabNet 上注册一个帐户才能下载,但它是免费的。它本质上是具有更好合并 UI 的 Subclipse。

I am not affiliated with CollabNet.

我不隶属于 CollabNet。

CollabNet has made their improved merge client available to non-registered users of Subclipse. You get it by selecting the CollabNet Merge Client feature when installing Subclipse from the update site.

CollabNet 已将其改进的合并客户端提供给 Subclipse 的非注册用户。从更新站点安装 Subclipse 时,您可以通过选择 CollabNet Merge Client 功能来获取它。

回答by prakash

I would say Subclipse, as I couldn't even get Subversive working ;)

我会说 Subclipse,因为我什至无法让 Subversive 工作;)

回答by Ethan Gunderson

I actually think both of them kind of suck. Using TortoiseSVNis a far better solution in my opinion. It's far more robust and tends to just work better, and I've always had integration issues with Subclipse and Subversive.

其实我觉得他们俩都挺烂的。在我看来,使用TortoiseSVN是一个更好的解决方案。它更加健壮,而且往往工作得更好,而且我一直在使用 Subclipse 和 Subversive 遇到集成问题。

回答by Hank Gay

They both have pretty heinous warts, but I couldn't get Subversive to work with a project I had checked out from the command-line, and that was a show-stopper for me.

他们都有非常令人发指的疣,但我无法让 Subversive 与我从命令行签出的项目一起工作,这对我来说是一个阻碍。

回答by jevon

I tried both of them, and both Subclipse and Subversive are awful. Both are challenging to install. If you use Subversive, you cannot use an external SVN client.

尝试了它们,Subclipse 和 Subversive 都很糟糕。两者都具有安装挑战性。如果使用 Subversive,则不能使用外部 SVN 客户端

However you need to have a SVN client installed in Eclipse to keep track of changes, and also to not corrupt your local repository.

但是,您需要在 Eclipse 中安装一个 SVN 客户端来跟踪更改,同时不要破坏您的本地存储库。

I have Subclipseinstalled, but use TortoiseSVNto actually do comitting/tagging/branching/merging.

我安装了Subclipse,但使用TortoiseSVN来实际执行提交/标记/分支/合并。

回答by warren_s

Subclipse, because at least it works.

Subclipse,因为至少它有效。

Subversive has been a bucket of fail for me so far. It wouldn't play nice with all of my old projects I had checked out with Subclipse.

到目前为止,颠覆性对我来说是一大败笔。对于我使用 Subclipse 签出的所有旧项目,它不会很好用。