Our team is migrating from VSS 6.0 to TFS 2008 to be used for source control purposes. I am wondering if anyone has any experience with this migration. In particular, we are interested in preserving the history of files in source control, as well as any other potential gotchas.
我们的团队正在从VSS 6.0迁移到TFS 2008,以用于源控制目的。我想知道是否有人有这种迁移的经验。特别是,我们有兴趣保留源代码管理中的文件历史,以及任何其他潜在的陷阱。
3 个解决方案
#1
3
This is fairly easy once setup. You will first need to create a usermap.xml. This will map your VSS users to your TFS2008 users. Then you create a project configuration file. I would post examples of mine but I can't get the XML to post.
一旦设置,这相当容易。您首先需要创建一个usermap.xml。这会将您的VSS用户映射到您的TFS2008用户。然后,您创建一个项目配置文件。我会发布我的例子,但我无法发布XML。
The project configuration file will point to the usermap XML file. Then all you have to do is type the command "VSSConverter migrate settings.xml" to migrate or "VSSConverter analyze settings.xml" to analyze the project. I suggest you to analze before migrating the project.
项目配置文件将指向usermap XML文件。然后,您只需键入要迁移的命令“VSSConverter migrate settings.xml”或“VSSConverter analyze settings.xml”来分析项目。我建议你在迁移项目之前进行分析。
Here is a link for more information. http://msdn.microsoft.com/en-us/library/ms253090(VS.80).aspx
这是一个链接以获取更多信息。 http://msdn.microsoft.com/en-us/library/ms253090(VS.80).aspx
#2
4
Do you have VSS 2005 installed? You need it rather than the previous version (6.0d).
你安装了VSS 2005吗?你需要它而不是以前的版本(6.0d)。
Also, do you really need the history in TFS? Or can you draw a line in the sand and say that all history before such and such a date is in VSS and all history after that date is in TFS? If so, you can simply do a get latest from VSS and add the files into TFS. Migrating is non-trivial because you need to deal with VSS users that don't map to domain users, VSS users that don't exist anymore, and although the order of source-control operations is maintained the actual date/time of the operation isn't migrated, it is however stored in the comment as part of the migration.
另外,你真的需要TFS的历史吗?或者你可以在沙滩上划一条线,并说在这样一个日期之前的所有历史记录都在VSS中,那个日期之后的所有历史都在TFS中?如果是这样,您只需从VSS获取最新信息并将文件添加到TFS即可。迁移是非常重要的,因为您需要处理不映射到域用户的VSS用户,不再存在的VSS用户,并且尽管源控制操作的顺序保持了操作的实际日期/时间但是,它不会迁移,而是作为迁移的一部分存储在注释中。
#3
2
Unfortunately, when I tried this...
不幸的是,当我尝试这个...
TF60032: The VSS Converter requires Visual SourceSafe 2005 or later to run. Please install Visual SourceSafe 2005 or later and try again.
TF60032:VSS转换器需要Visual SourceSafe 2005或更高版本才能运行。请安装Visual SourceSafe 2005或更高版本,然后重试。
#1
3
This is fairly easy once setup. You will first need to create a usermap.xml. This will map your VSS users to your TFS2008 users. Then you create a project configuration file. I would post examples of mine but I can't get the XML to post.
一旦设置,这相当容易。您首先需要创建一个usermap.xml。这会将您的VSS用户映射到您的TFS2008用户。然后,您创建一个项目配置文件。我会发布我的例子,但我无法发布XML。
The project configuration file will point to the usermap XML file. Then all you have to do is type the command "VSSConverter migrate settings.xml" to migrate or "VSSConverter analyze settings.xml" to analyze the project. I suggest you to analze before migrating the project.
项目配置文件将指向usermap XML文件。然后,您只需键入要迁移的命令“VSSConverter migrate settings.xml”或“VSSConverter analyze settings.xml”来分析项目。我建议你在迁移项目之前进行分析。
Here is a link for more information. http://msdn.microsoft.com/en-us/library/ms253090(VS.80).aspx
这是一个链接以获取更多信息。 http://msdn.microsoft.com/en-us/library/ms253090(VS.80).aspx
#2
4
Do you have VSS 2005 installed? You need it rather than the previous version (6.0d).
你安装了VSS 2005吗?你需要它而不是以前的版本(6.0d)。
Also, do you really need the history in TFS? Or can you draw a line in the sand and say that all history before such and such a date is in VSS and all history after that date is in TFS? If so, you can simply do a get latest from VSS and add the files into TFS. Migrating is non-trivial because you need to deal with VSS users that don't map to domain users, VSS users that don't exist anymore, and although the order of source-control operations is maintained the actual date/time of the operation isn't migrated, it is however stored in the comment as part of the migration.
另外,你真的需要TFS的历史吗?或者你可以在沙滩上划一条线,并说在这样一个日期之前的所有历史记录都在VSS中,那个日期之后的所有历史都在TFS中?如果是这样,您只需从VSS获取最新信息并将文件添加到TFS即可。迁移是非常重要的,因为您需要处理不映射到域用户的VSS用户,不再存在的VSS用户,并且尽管源控制操作的顺序保持了操作的实际日期/时间但是,它不会迁移,而是作为迁移的一部分存储在注释中。
#3
2
Unfortunately, when I tried this...
不幸的是,当我尝试这个...
TF60032: The VSS Converter requires Visual SourceSafe 2005 or later to run. Please install Visual SourceSafe 2005 or later and try again.
TF60032:VSS转换器需要Visual SourceSafe 2005或更高版本才能运行。请安装Visual SourceSafe 2005或更高版本,然后重试。