从 Visual SourceSafe 切换到 CVS:Visual Studio 中丢失了哪些功能?

发布于 2024-07-04 14:20:30 字数 367 浏览 6 评论 0 原文

我的公司正在使用 Visual SourceSafe (VSS) 和 Visual Studio 2005(即将于 2008 年推出)。 他们想要切换到 CVS,但开发人员不想失去我们获得的集成使用 VSS 和 Visual Studio。

我知道有 CVS 插件,但是 CVS 会丢失哪些功能(如果有的话)?

My company is using Visual SourceSafe (VSS) and Visual Studio 2005 (soon 2008). They want to switch to CVS, but the developers don't want to lose the integration we get with VSS and Visual Studio.

I know there are CVS plugins, but what functionality, if any, is lost with CVS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

爱给你人给你 2024-07-11 14:20:30

因丢失源代码等而对 VSS 尖叫。说实话,这是一个非常不同的模型(乐观锁定),因此您可能会在最初一段时间内失去一些生产力。 我可能会考虑使用 TortoiseCVS 和“在 Windows 资源管理器中打开文件夹”右键单击或Visual Studio Explorer 插件而不是 CVS 插件,如果您正在使用 Visual Studio 2008(我尝试过的所有 CVS 插件都存在严重的功能问题或严重的稳定性问题)。

VSS 确实是一个糟糕的源代码控制系统,从长远来看,转向现代风格(乐观锁定)源代码控制系统将是一个巨大的好处。 您可能想跳过 20 世纪 90 年代,转而使用 Subversion/Git/Mercurial 并进入 2000 年代。

Screaming at VSS for lost source code, etc. Seriously though, it is a very different model (optimistic locking), so you will probably lose some productivity for the first little while. I would probably look at using TortoiseCVS and "Open Folder In Windows Explorer" right-click or the Visual Studio Explorer plug-in rather than a CVS plug-in if you are using Visual Studio 2008 (all of the CVS plug-ins I have tried have had either serious functionality issues, or serious stability issues).

VSS is really a terrible source control system, and moving to a modern style (optimistic locking) source control system will be a huge boon in the long run. You might want to skip the 1990s all together though and move to Subversion/Git/Mercurial and get into the 2000s.

在风中等你 2024-07-11 14:20:30

如果你要换,为什么不换一个更好的呢? CVS 距离版本控制领域的最先进水平还有很长的路要走。 像 Subversion 或 Vault 这样的更现代的系统不仅可以提供更好的功能,而且还可以让您更好地集成 Visual Studio。

If you're going to switch, why not switch to something better? CVS is a long way from state of the art in version control. A more modern system like Subversion or Vault not only offers better features, but it will get you better Visual Studio integration as well.

白馒头 2024-07-11 14:20:30

Visual Studio 在 CVS 和 SVN 的 IDE 中集成很差。 那些免费的不太好用。 我使用 Tortoise (在 Visual Studio 之外),效果很好。 如果您想要 Visual Studio 中的某些内容,您可以检查是否有免费插件或使用 TFS

Visual Studio has a bad integration inside the IDE for CVS and SVN. Those free ones don't work well. I use Tortoise (outside Visual Studio), and it works fine. If you want something inside Visual Studio, you might check for not free plugin or to use TFS.

风流物 2024-07-11 14:20:30

我的 hack 如下:

我主要是一名 Java 开发人员,我使用 Eclipse/RAD。 对 CVS 的支持非常好并且非常容易使用。

对于我所做的 C# 工作,我尝试为 Visual Studio 找到一个 CVS 插件,但对我找到的插件并不满意。 最后,我决定使用 Eclipse 来处理我的 C# 项目的版本控制。

操作步骤:

  1. 在 Eclipse 中创建一个简单的项目
  2. 打开 VS,将项目保存到 Eclipse 创建的目录中
  3. 返回 Eclipse,按F5刷新项目
  4. 共享项目(即添加到 CVS)
  5. 添加 .sln 到 Eclipse 设置中的外部处理文件列表
  6. VS 现在可以通过单击 .sln 文件直接从 Eclipse 打开,可以在 VS 中处理项目。 从 VS 退出后,项目必须在 Eclipse 中刷新,并且可以与 CVS 同步。

虽然我还没有使用 Subversion 插件,但我想这会以类似的方式工作。

这个解决方案对我来说效果很好,尤其是因为我大部分时间都花在 Eclipse 上。

我确实尝试过使用 TortoiseCVS,但发现它使用起来很棘手。 Eclipse 是免费的,并且 CVS 界面非常有用。

My hack is as follows:

I am mainly a Java developer and I use Eclipse/RAD. The support for CVS is great and is very easy to work with.

For the C# work I do I tried to find a CVS plugin for Visual Studio but was unhappy with the one I found. In the end, I decided to use Eclipse to handle the versioning of my C# projects.

The procedure:

  1. Create a simple project in Eclipse
  2. Open VS and save the project into the directory created by Eclipse
  3. Return to Eclipse, press F5 to refresh the project
  4. Share the project (i.e. add to CVS)
  5. Add .sln to the list of externally handled files in the Eclipse settings
  6. VS can now be opened directly from Eclipse by clicking the .sln file, the project can be worked on within VS. Upon exit from VS the project must be refreshed in Eclipse and can be synchronised with CVS

Although I have not yet used the Subversion plugin, I guess that would work in a similar way.

This solution works well for me especially as I spend most my time in Eclipse anyway.

I did try using TortoiseCVS but found it tricky to use. Eclipse is free and the CVS interface is very usable.

决绝 2024-07-11 14:20:30

如果您必须切换到 CVS(Subversion 或分布式 VCS 更好),那么可以找到我们用于迁移和保留更改历史记录的脚本 此处

我们对 CVS 非常满意,尽管我们不使用 Visual Studio 集成,因为我们发现 TortoiseCVSSmartCVS 好多了。 但是,如果我现在要切换,我会查看 GitMercurial

If you must switch to CVS (Subversion or a distributed VCS would be better) then the script we used to migrate and keep the change history can be found here.

We are very happy with CVS, although we don't use Visual Studio integration as we find TortoiseCVS and SmartCVS much better. However if I was switching now I would look at Git or Mercurial.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文