2011-02-23 91 views
0

我们正在使用TFS Integration Tools将我们的源代码管理历史记录从TFS 2008实例迁移到TFS 2010实例。 TFS 2008是一个升级的TFS 2005实例,这会导致问题。在TFS集成工具的发现阶段,我们得到一个错误:TFS迁移changetype映射

[2/23/2011 4:37:50 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 5267 
[2/23/2011 4:37:50 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Unresolved conflict: 
[2/23/2011 4:37:50 PM] Session: dd9ee183-8f17-42e4-acbb-a5bfb0c26d45 
[2/23/2011 4:37:50 PM] Source: d95a9917-e8ec-46dd-92bb-86120d0b2a2a 
[2/23/2011 4:37:50 PM] Message: Unrecognized conflict type 
[2/23/2011 4:37:50 PM] Conflict Type: Unhandled ChangeType conflict type 
[2/23/2011 4:37:50 PM] Conflict Type Reference Name: 361cd4e0-9955-42e0-a57c-ec3ade589e77 
[2/23/2011 4:37:50 PM] Conflict Details: ChangeType 'Add, Edit, Encoding, Delete' is unrecognized. 

这种特殊的签是从2005年TFS实例;我假设“编码”ChangeType已被删除,并且无法被TFS 2010实例识别。我发现这个问题只有一个相关的评论,对TFS Migration and Integration forum,这似乎解决了我们的问题:

To resolve this conflict, you need to map this change combination to one that the migration tool understands. In your situation, the file is added and deleted in the same changeset - I would suggest to map it to 'Delete'.

这不会是一个问题,但没有文档或如何使这 映射的例子;事实上,该线程的最后评论提出了具体问题。我假设这个更改需要在TFS集成配置的XML中进行,但是如何?

回答

1

我的理解是TFS 2008到TFS 2010的升级不应该使用迁移工具。相反,您应该使用作为2010安装一部分的升级向导。

- 编辑 -

我知道你不觉得这是一个升级,但因为你会从2008年到TFS TFS 2010,即使你切换服务器,游侠的指导电话那是一次升级。从Migration Guidance document的第10页开始:

There are two typical upgrade scenarios:

  • A “move based” upgrade, which is recommended when moving to new hardware. In this scenario you typically copy the databases to a new server and install TFS.
  • An “in-place” upgrade, which is the typical scenario when you remain on the same hardware and wish to upgrade to a later version of TFS.

The standard TFS installation guide covers both these scenarios in great detail.

+0

这不是升级..这是从一个服务器实例(TFS 2008)到另一个服务器实例(TFS 2010)的迁移..没有升级发生在这个地方.. – werelord 2011-02-25 13:49:57

0

作为其删除,您可以尝试从迁移中提取路径。 在迁移工具中,添加导致错误的路径,然后将路径类型更改为“Cloak”(或类似于我不记得的东西) 这是我修复相同错误的方法。