将团队项目移动到另一个项目集合 TFS 2013 [英] Move Team Project to another Project Collection TFS 2013

查看:20
本文介绍了将团队项目移动到另一个项目集合 TFS 2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始在我的 TFS 2013 环境中实现 TFS 构建控制器.令我不屑的是,我发现 TFS 仅支持每个项目集合 1 个控制器.我们目前使用按业务部门(会计、工程等)组织的项目集合.我们有一个小团队,我无法证明为此创建 10-20 个虚拟机是合理的.我愿意将所有团队项目移动到一个项目集合中,但我不想丢失我的源代码控制历史记录.我查看了 TFS 集成平台,但似乎不支持 TFS 2013.

我在这里遗漏了什么吗?我可以使用集成平台并保留我的源代码控制历史记录吗?我还有什么其他选择可以在不丢失历史记录的情况下减少我的项目集合数量?我们目前不使用实验之外的工作项,所以我真的只关心历史.

解决方案

您可以使用 TFS 集成工具在 TFS2013 中移动团队项目,但也有一些限制.详细供您参考:

最后,您可以在变更集评论中查看您的历史记录.例如:它是由 Changeset134 2015-10-19 创建的

I am starting to implement TFS build controllers in my TFS 2013 environment. To my disdain, I discovered that TFS only supports 1 controller per project collection. We currently use project collections organized by business unit (Accounting, Engineering, etc.). We have a small team and I cannot justify creating 10-20 VMs just for this. I am open to moving all team projects into a single project collection but I do not want to lose my source control history. I looked into the TFS Integration Platform but it doesn't look like TFS 2013 is supported.

Am I missing something here? Can I use the integration platform and keep my source control history? What other options do I have to reduce my number of project collections without losing history? We don't currently use work items outside of experimentation so I am really only concerned with the history.

解决方案

You can use TFS Integration Tools to move team project in TFS2013, but there are also some limitations. Detail for you reference: https://visualstudiogallery.msdn.microsoft.com/eb77e739-c98c-4e36-9ead-fa115b27fefe

I have test in my local environment , succeed.(Both different collection and the same collection)

My environment:

TFS2013 SQL2012 TFS 2010 Team Explorer VS2013 TFS Integration Tools2012

Prepare environment:

Install TFS2010TeamExplorer Cause TFS Integration Tools2012 need it

Install TFS Integration Tools2012

PS: It’s not support SQL2014. When you connect SQL2014 during the install of Integration Tools , it would throw out an error: Vaild values of the database compatibility level are 100.110,or120... SQLkey:CreateDatabaseScript…90

Detailed Steps:

  1. Create a new empty team project in another collection. Choose the same Process Template as source project when creating new project.
  2. Launch TFS Integration, Click Create New->Choose "VersionControlAndWorkItemTracking" template under "Team Foundation Server" folder (for you could use 'VersionControl' template)
  3. Configure Workflow Type, Frequency, Version Control Session as below, Left Source should be the project you want to copy, Right Source should be the empty new project

Note, for the Paths section, you must include any folders (paths) under the root explicitly and individually in the folders list. Just using $/ or $/MyProject will not work. For example, if you have folders src/ and test/ under the root, you must include these as $/MyProject/src and $/MyProject/test/

  1. Do the same for Work Item Tracing Session.
  2. Click Save to Database button. Then click Start.
  3. Resolve the conflicts if any.
  4. Done

At last you can view your history in the Changeset Comment. For example: It’s created of Changeset134 2015-10-19

这篇关于将团队项目移动到另一个项目集合 TFS 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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