Migrate from Perforce to Team Foundation

Hi All,
We are planning to migrate from Perforce to Team Foundation. For sure we will need to keep all revision history.
As far as we know, there is no existing tool to perform this migration. So we are considering to develop a tool ourselves. What the options do we have?
1. Is it possible to use Visual Studio SDK? We can certainly use this SDK to simulate check-out/check-in, but one problem I see is that the timestamp will be wrong. Is there a work around?
2. Is it possible to write to database directly? Does anyone know if MS provides a document about DB specification?

We are also open for all other options.
Thank you in advance.
Ray

[670 byte] By [Yuemingzhang] at [2007-12-22]
# 1

Please see my reply in the VC forum:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=597481&SiteID=1

Summary response to your two specific questions here:

1) Yes, you can do this. The timestamps will be "wrong" (in that the TFS timestamp won't match the Perforce one) but the chronology of the changes will be correct. Also you can adjust the checking comment to include the origional p4 timestamp and changeset ID. Do not try to circumvent the changeset timestamp issue - it's just a fact of conversion.

2) I would strongly recomend you not do this. The client OM can handle anything you would need to do for this converter.

Robert.

RobertHorvickMSFT at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified