首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >塑料SCM和汞?Windows 7下Visual 2005的源代码控制需求

塑料SCM和汞?Windows 7下Visual 2005的源代码控制需求
EN

Stack Overflow用户
提问于 2011-01-14 21:47:55
回答 3查看 4.8K关注 0票数 12

( 1)有人使用过塑料供应链管理吗?它可靠吗?

( 2)它与汞有何比较?(这似乎是Windows上DVCS的一个很好的候选。我试过Git,但真的不喜欢。)

3)我非常喜欢TortoiseSVN。我喜欢一个中心模型,因为它的思想是,如果它是在存储库,它是“安全的”和跟踪。以下是一个问题:对分布式版本控制(DVCS)的兴奋值得大肆宣传吗?

我的环境:

  1. Windows 7
  2. Windows开发(开发)Studio 2005,SQL Server 2003);集成将是很好的
  3. 两个开发人员共享相同的代码
  4. 几乎每天都将代码推送到生产服务器。
EN

回答 3

Stack Overflow用户

发布于 2011-01-14 23:39:38

我的答案是倾向于塑料SCM,因为我是一个开发人员。尽管如此,让我们试着回答你的问题:

  1. 塑料SCM可靠吗?目前,它被世界各地的大、大、中、小的团队所使用。我们还没有像Git或Mercurial这样庞大的用户群(P :P),但我们依靠的是一个非常热情和有才华的团队。检查一下,例如,我们的负载测试结果 (我们真的把塑料放在沉重的负荷下)。
  2. 它和汞有什么比较呢?虽然我认为我们可以通过特性不断地击败每一个“传统”版本控制特性,但就核心功能集而言,Git和Hg可能是最难的。让我们把注意力集中在汞上,塑料能增加什么?我想我可以谈上几个小时,但让我们试着列出一个简短的列表,基本上:
代码语言:javascript
运行
复制
- Easy to use tools: from the GUI, the ShellExtension, Visual Studio Plugin, integrated diff/merge (yes! give a try to our [XDiff/XMerge with code refactor support!](http://codicesoftware.blogspot.com/2010/07/move-support-in-diff.html)), the Branch Explorer that basically let's you do all branching and merging from a graphical perspective... Ok, with Plastic you not only get the "engine", you get the entire car with all the pieces you need. I can mention other tools for VS users like the [method history support](http://codicesoftware.blogspot.com/2010/12/announcing-method-history.html), and the list grows and grows...
- Like Mercurial: totally designed to handle branching and merging. From my point of view (biased) branching is simpler in Plastic since "named branches" are there by default. We propose users to embrace ["branch per task"](http://www.plasticscm.com/infocenter/quick-start/intro-task-driven-development.aspx).
- Configurable database backends: you can store your data (and later use standard SQL interfaces if you need to build your own apps around) in SQL Server, Firebird, Oracle, MySql or even a tiny SQLite. We didn't reinvent the wheel here: transactional by default ;)
- ACL based security: probably not key for a small team, but it is there.
- For advanced mergers: each "changeset" in Hg is restricted to maximum two parents, you don't have this limitation in Plastic, but ok, we could argue about the details for hours... maybe not worth ;)
- Also for advanced integrators: we do handle merge tracking at the item level which means we can do "partial merges" (merge only part of a branch) seamlessly. It is a little bit harder with Hg and Git.

  1. 值多少钱?当然是。好,一步一步地:
代码语言:javascript
运行
复制
- DVCS is good not only because it enables distributed development, is good because all new DVCS systems (Hg, Git, Bazaar, Plastic...) **implement merge tracking right**. So, at the end of the day for many people DVCS is just about merge tracking done right (less shocking than pushing/pulling but true).
- Being able to have your own SCM on your laptop is simply great. I've been working with Plastic this way (now I have a SQLite based server, super-fast and super-light) for years and... well, is simply better: you never get slowed down by the internet connection, you can merge whenever you want (remember **branch per task**), review your own changes... everything. And then push your changes back to the main server when you're done. It is simply better.
- Now: Plastic SCM, unlike Git and Hg, is able to work in the two modes. Do you want to have a central server and directly connect to it without intermediate replicas? You can do it. Do you want to work in true DVCS style? You can do it too. That's why Plastic is so flexible.

最后,如果使用Visual + W7 +2开发人员.去拿一个免费的塑料SCM社区版..。就像我说的,Hg是一个很好的核心,但是塑料至少是一样好的,它附带了你作为Win开发人员所拥有的所有工具(除非你喜欢CLI,讨厌鼠标……)即使如此,塑料也有CLI :P)。

票数 13
EN

Stack Overflow用户

发布于 2011-05-12 11:40:07

我玩过一些塑料SCM,虽然它看起来更强大,但我发现使用它比使用Mercurial要麻烦得多。有两件事我特别不喜欢:

  1. 虽然Subversion和Mercurial将文件与其原始版本进行比较,以确定需要签入哪些文件,但塑料SCM要求您在编辑文件之前显式地签出文件,并且默认情况下将文件标记为只读。这就是的运作方式,它可能是TFS的一个“特性”,比任何其他特性都吸引了更多的批评,因此看到塑料模仿它是非常令人失望的。我知道你可以配置塑料不标记文件为只读,但我不知道它的工作在实践中,如果你这样做。
  2. 与Mercurial的GUI前端TortoiseHg相比,我发现它的GUI工具设计过度,使用起来也很笨拙。他们真的需要约束他们的平面设计师。毕竟,这是一个版本控制工具,而不是电影。
票数 10
EN

Stack Overflow用户

发布于 2011-01-17 21:50:06

我已经研究了一段时间的塑料和汞,当我玩了一会儿,我真的开始爱上塑料。我之所以这样做,是因为在我目前的工作中,我们使用SVN和代码合并是非常手动的,我认为必须有更好的方法。所以,在我的业余时间,我喜欢塑料制品。这些工具很直观,没有更好的方法来描述它们。哦,当然,我对我的命令行能力毫不怀疑,但对于看到您正在做的事情,还有一些话要说。当然,每个人都有一个命令行,所以我从来不关心任何VCS的那个部分。

至于DVCS,塑料真的比我见过的任何其他系统都更灵活。拥有一个存储库的多个副本和来回推拉更改非常容易。而且,由于GUI在所有平台上都能工作,所以一切都是一样的。我可以选择使用我想要的,我的队友也可以。

我仍然在学习和挖掘事物,但我建议你自己做一些研究,下载并尝试一下。我没有看过手册,我可以开始使用它。简直太棒了!

票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4696331

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档