How to transfer a project from ClearCase to TFS?

只谈情不闲聊 提交于 2019-12-10 20:08:42

问题


Excuse me for the novice question :blush:

How do I detach a project from ClearCase in order to add it to a TFS source control system?


回答1:


The easiest way is to do whats called a "tip" migration. This just means grab a copy of your source code from ClearCase to your harddrive. Then add all the files to TFS. This will bring over the latest version of your code, but will not bring over the history.

If you want to do a migration that brings over history you will need to use a tool such as the TFS Integration Platform. The ALM Rangers have produced a connector for ClearCase and a bunch of training and videos on how to perform a migration that can be found here: http://blogs.msdn.com/b/willy-peter_schaub/archive/2011/07/27/getting-started-with-ibm-rational-to-team-foundation-server-tfs-migrations.aspx




回答2:


I know it's silly but here's what I needed to do -

  1. Open each of the csproj files
  2. For each one, remove the xml nodes starting "Scc" (like SccProjectName, SccAuxPath, SccProvider etc) it seems they were the ones bothering the Visual Studio.
  3. Reload the projects and add them to desired TFS workspace

Additional Steps that may need to be done:

  • Open the .sln with a texteditor and delete the entire section about source control.
  • In Visual Studio go to Extras -> Options... -> Sourcecontrol and change the plug in to TFS


来源:https://stackoverflow.com/questions/27968510/how-to-transfer-a-project-from-clearcase-to-tfs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!