1

Yesterday, I asked a question Migrate to TFS and the answer mentioned some very good tools which can be very helpful. Thanks to jwanagel. But I forgot to mention there the VSS server and TFS server are two different machines. And when you've both on different location it seems you would have to take a different path.

What would I have to do to migrate my Visual SourceSafe database which is on a different machine to a TFS Server which is on an another machine?

Thanks.

4

1 回答 1

1

它们绝对可以在不同的机器上。只要确保两台机器可以互相看到。

在 vssconverter.exe 实用程序的配置文件中,您将看到:

<?xml version="1.0" encoding="utf-8"?>
 <SourceControlConverter>
   <ConverterSpecificSetting>
      <Source name="VSS">
          <VSSDatabase name="c:\VSSDatabase">
          </VSSDatabase>
      </Source>
      <ProjectMap>
        <Project Source="$/MyFirstProject" 
                 Destination="$/MyTeam_ProjectOne">
        </Project>
        <Project Source="$/MySecondProject"  
                 Destination="$/MyTeam_ProjectTwo">
        </Project>
      </ProjectMap>
   </ConverterSpecificSetting>
   <Settings>
     <TeamFoundationServer name="YourTFSServerName" 
                           port="PortNumber" 
                           protocol="http"
                           collection="MyTeamProjectCollection">
     </TeamFoundationServer>
   </Settings>
 </SourceControlConverter>

该区域将指定 VSS 数据库所在的位置。这将始终在本地,因为 vssconverter.exe 是从您要从中迁移的 VSS 服务器运行的。如果您查看该区域,您可以在此处指定 TFS 服务器地址。TFS 地址不必是相同的机器名称。只要它在您要从中迁移的 VSS 服务器上可见,就没有问题。

(我刚刚完成了从 VSS 服务器到另一台 TFS 机器的迁移。)

希望有帮助!

于 2010-08-27T15:33:08.003 回答