2011-02-23 90 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」(或類似於我不記得的東西) 這是我修復相同錯誤的方法。