Migrate TFS folder into Team Project

2019-08-22 02:52发布

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.

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

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
1条回答
对你真心纯属浪费
2楼-- · 2019-08-22 03:44

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.

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.

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

查看更多
登录 后发表回答