将 TFS 文件夹迁移到 Team Project [英] Migrate TFS folder into Team Project

查看:29
本文介绍了将 TFS 文件夹迁移到 Team Project的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的组织多年来一直在使用 TFS,但没有正确构建存储库.

My organization has been using TFS for years, but has not structured the repository properly.

我们目前有一个集合,并为我们支持的每个业务线创建一个团队项目.每个解决方案都保存为团队项目下的文件夹.每个团队项目都可以保存数十种不同的解决方案.

We currently have a single collection, and a Team Project for every line of business we support. Every Solution is saved as a folder underneath the Team Project. Each Team Project could have dozens of different Solutions saved into it.

我们正在从 TFS 2010 迁移到 2012,我将借此机会重新构建我们的存储库.

We are moving from TFS 2010 to 2012, and I'm taking the opportunity to re-structure our repository.

  • 每个业务线都会有自己的集合

  • Every line of business will have its own collection

每个解决方案都有自己的团队项目

Every Solution will have its own Team Project

这是一个伟大的想法,但问题是我们将如何将解决方案从 2010 年迁移到 2012 年.是否有可能以某种方式保留我们代码更改的历史记录,或者我们必须在迁移时重新开始?

It's a grand idea, but the issue is how we are going to migrate the Solutions from 2010 to 2012. Is it possible to somehow retain the history of our code changes, or must we start fresh when we do the migration?

推荐答案

当您升级到 TFS 2012 时,升级过程将保留您的所有历史记录和工作项.阅读 Microsoft 的升级指南.你应该在重组之前升级,这样会更容易.

When you upgrade to TFS 2012 the upgrade process will keep all of your history and work items. Read the upgrade guide from Microsoft. You should upgrade before you restructure, it'll be easier that way.

基本上有 2 种升级方法,具体取决于您是打算在同一硬件上运行 TFS,还是打算将新硬件放入托管 TFS 2012.

There are basically 2 ways to upgrade, depending on if you plan to run TFS on the same hardware or if you're planning on putting new hardware in to host TFS 2012.

请注意拆分集合 不是严格的,但有可能,你基本上复制它们,然后删除你不想保留的东西.但是,如果您决定随后要在集合之间移动团队项目或合并它们,那么 TFS 不支持开箱即用.您可以使用 TFS 集成工具来做到这一点,但它是远非完美的解决方案

Be aware that splitting collections isn't strait forward but it is possible, you basically duplicate them and then delete the stuff you don't want to keep. However if you decide that you then want to move Team Projects between collections or merge them then TFS doesn't support this out of the box. You can use the TFS integration tools to do this, but it's a far from perfect solution

这篇关于将 TFS 文件夹迁移到 Team Project的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆