简体   繁体   English

假人的版本控制

[英]Versioning for Dummies

I'm looking for a subversion tool, and i have the following requirements: 我正在寻找一个颠覆工具,我有以下要求:

  • Must integrate into VS 2008 必须集成到VS 2008中
  • Automatically submits new versions 自动提交新版本
  • Does not use the command line as primary interface 不使用命令行作为主要界面
  • Doesn't clutter up explorer with bright icon overlays or context menus 不会通过明亮的图标叠加层或上下文菜单使浏览器混乱
  • is only going to be used by one user mostly if not completely, so doesn't need to have advanced diff tools or anything like that 仅会被一个用户使用(如果不是完全的话),因此不需要高级的差异工具或类似工具

Basically, i want a subversioning tool that will only bother me when creating a project or actually needing to get something from a previous version. 基本上,我想要一个颠覆工具,仅在创建项目或实际需要从以前的版本中获取内容时才会打扰我。

Does something like that exist, and if so, what is it? 是否存在类似的东西,如果存在,那是什么?

Yes. 是。 VisualSVN (commercial) VisualSVN (商业)

Except for "automatically submits new versions" - that makes no sense. 除了“自动提交新版本”外,这没有任何意义。 The day computers know when your code is ready to be committed and free of bugs is the day the world needs a lot less programmers 计算机知道何时可以提交代码且没有错误的那一天是世界上需要更少的程序员的那一天

You commit when you're done a task, which effectively gives you a rollback point. 您在完成任务时提交,可以有效地为您提供回滚点。 It's also important to add a meaningful commit message ("Fixed crash when clicking on Save button") - this way you can find things easily later. 添加有意义的提交消息(“单击“保存”按钮时已修复崩溃”)也很重要-这样一来,您以后就可以轻松找到内容。 A lot of new users to version control skip this part, and unfortunately only learn the hard way 3 months later when they need to go back and undo a fix/feature. 许多新的版本控制用户跳过了这一部分,不幸的是,三个月后,当他们需要回去并撤消修订/功能时,才学会了艰难的方法。

AnkhSvn is a free alternative, I've personally only used 1.x, which was really quite terrible. AnkhSvn是免费的替代品,我个人仅使用1.x,这确实非常糟糕。 It definitely looks more usable in 2.x. 它肯定在2.x中更有用。

One upside to VisualSVN is that it uses TortoiseSVN for a lot of its dialogs. VisualSVN的一个优点是,它在许多对话框中都使用了TortoiseSVN This means when you're working with subversion just from explorer, you have basically the same interface and same UI. 这意味着当您仅通过资源管理器处理Subversion时,您基本上具有相同的界面和相同的UI。 Quite handy, as it lets you do things like edit images or text files without having to fire up VisualStudio, or edit scripts/installers, or other parts of a product that are not necessarily in VisualStudio. 非常方便,因为它使您可以执行诸如编辑图像或文本文件之类的事情,而无需启动VisualStudio,编辑脚本/安装程序或产品的其他部分(不一定在VisualStudio中)。

Yes, they are available. 是的,它们可用。

The two I know of are VisualSVN and AnkhSVN . 我知道的两个是VisualSVNAnkhSVN There are a bunch of comparisons available on SO SO上有很多比较

I use AnkhSVN myself. 我自己使用AnkhSVN。 It is free, integrates nicely with Visual Studio, and doesn't cause any performance issues. 它是免费的,可以与Visual Studio很好地集成,并且不会引起任何性能问题。

视觉SVN是您所需要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM