如何使用 Visual Source Safe 合并项目差异?

发布于 2024-08-13 22:28:44 字数 204 浏览 1 评论 0原文

我们的源安全数据库上有两个不同的项目(其中一个是另一个项目的副本,由于某些原因,我们的分支操作出现问题,没有固定分支文件,因此我必须获取一个标签并将其添加为不同的项目) 我知道如何看到两个项目之间的差异,并且我知道有一种机制可以让我们将差异合并到一个文件中(我认为“协调所有”可以解决问题,但我不确定)

所以这是我的问题如何我将一个项目中的文件与另一个项目中的另一个文件合并吗?

We have two different projects on our source safe database (one of them is a copy of another one for some reasons there was a problem with our branching operation that didn't pin our branched files therefore I had to get a label and add it as a different project)
I know how I can see the differences between two projects and I know that there is a mechanism that let us merge differences into one file (I think "reconcile all" will do the trick but i am not sure)

So here's my question how can I merge a file in a project with another file from another project?

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

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

发布评论

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

评论(2

甜宝宝 2024-08-20 22:28:44

如果您尝试使用内置工具合并代码,VSS(或者我称之为源代码销毁系统)将销毁您的代码。为什么要这样做? ..因为它是一个蹩脚的工具。

这是我推荐的

  1. 获取最新的两个分支。
  2. 获取最新版本的代码
    在你分支之前。 (只需查看
    日期并猜测是否必须这样做)
  3. 进行 3 路合并,因为您有
    根据。
  4. 将合并的文件添加到 subversion 中
    (或者比
    源安全)。

我有很多旧项目存储在sourcesafe 中。除了获取最新信息、签入和签出之外,尝试使用内置工具做任何事情都是毫无希望的。

VSS (or as i call it, source destruction system) will destroy your code if you try to merge it using the built-in tools. Why does it do that ? .. because its a lame tool.

This is what i recommend

  1. Get latest both branches.
  2. Get the last version of the code
    before you branched. (just see the
    date and guess if you have to)
  3. Do a 3-way merge because you have a
    base.
  4. add the merged files into subversion
    (or something better than
    sourcesafe).

I have many old projects stored in sourcesafe. Its hopeless trying to use the built-in tools to do anything other than get latest, checkin and checkout.

我只土不豪 2024-08-20 22:28:44
  1. 在某处查看第一个 VSS 的最新版本。
  2. 使用不同的 VCS 工具创建存储库(Subversion 应该是最简单的选择)。
  3. 将项目版本作为分支导入到新的 Subversion 存储库中。
  4. 其他地方查看第二个 VSS 的最新版本。
  5. 将项目版本导入到不同分支中的新 Subversion 存储库中。
  6. 使用任何 Subversion 工具合并两个分支。
  1. Checkout the latest version of the first VSS somewhere.
  2. Create a repository using a different VCS tool (Subversion should be the most simple choice).
  3. Import the project version into the new Subversion repo as a branch.
  4. Checkout the latest version of the second VSS somewhere else.
  5. Import the project version into the new Subversion repo in a different branch.
  6. Use any Subversion tools to merge the two branches.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文