How to transfer a project from ClearCase to TFS?

2019-07-04 07:13发布

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?

2条回答
三岁会撩人
2楼-- · 2019-07-04 07:17

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

查看更多
仙女界的扛把子
3楼-- · 2019-07-04 07:32

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
查看更多
登录 后发表回答