vss迁移到tfs


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

一、安装

1,安装sqlserver2008 r2

2,安装sharepoint (http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=14117http://www.microsoft.com/zh-cn/download/details.aspx?id=20614)

3,安装TFS2010并补 (http://www.microsoft.com/zh-cn/download/details.aspx?id=15070http://www.microsoft.com/zh-cn/download/details.aspx?id=20506)

4,安装team explorer以便在服器上vs team explorertfs2010安装文件下

5,安装tfs powertools (http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f)

 

二、实施迁移

 (http://msdn.microsoft.com/zh-tw/vstudio/gg983556(zh-tw)http://msdn.microsoft.com/zh-cn/library/ms181247(v=vs.80).aspx如何VSS移到TFS2010.pdf)

1,?? VSS 版本必?是 2005

2,安? KB947647,?至下列?址下??安?至 TFS 伺服器上: http://code.msdn.microsoft.com/KB947647/Release/ProjectReleases.aspx?ReleaseId=1028

3,全部checkin

4,使用 Visual SourceSafe 分析用工具复数中的据完整性问题

5,?? VSS ?料?目???一,如 C:\VSSDB,拷?至 TFS 伺服器上,??定在 TFS 上有安? Team Explorer

6,在VS上建立目集合对应VSS上的

7,建立 analysissettings.xml ?定?,存於 C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE目?:行:VSSConverter.exe analyze analysissettings.xml 
   例:
   <?xml version="1.0" encoding="utf-8"?>

<SourceControlConverter>
  <ConverterSpecificSetting>
    <Source name="VSS">
      <VSSDatabase name="J:\vss\LvJian_VSS"></VSSDatabase>
      <UserMap name="c:\Migrate\Usermap.xml"></UserMap>
       <SQL Server="LVSHOU-WEBSERVE\SQL2008"></SQL>
    </Source>
    <ProjectMap>
	   <Project Source="$/BIM" Destination="$/BIM"></Project>
		<Project Source="$/Common" Destination="$/Common"></Project>
		<Project Source="$/DBManage" Destination="$/DBManage"></Project>
    </ProjectMap>
  </ConverterSpecificSetting>
  <Settings>
       <TeamFoundationServer name="lvshou-webserver" port="88" protocol="http" collection="tfs/MySystem" ></TeamFoundationServer>
    <Output file="Analysis.xml"></Output>
  </Settings>
</SourceControlConverter>

8,?行成功後?在目前目?出?”Analysis.xml”,一映射文件 (usermap.xml)。?面是分析?果,若????息,???C:\migrate\Usermap.xml,??VSS????至TFS??

9,建立系统账号,在usermap.xml中与VSS原账号对应

10,最合成:? Analysis.xml ?除,方可重??行 VSSConverter.exe,?指令更改如下: VSSConverter.exe migrate analysissettings.xml

在管理工具中lock VSS,关闭VSS