Migration from UCM ClearCase to GIT

倾然丶 夕夏残阳落幕 提交于 2019-11-27 07:12:10

问题


I am studying migrating from UCM ClearCase to GIT. The initial intention is to migrate all cc branches with their respective history.

A similar experience, best practices, any tips or suggestions will be of great help.


回答1:


The biggest advice is in the UCM component to Git repository reorganization.

The migration is often a good opportunity to split (too) large UCM component into leaner Git repo.
Since Git is distributed, you need to keep in mind you will be cloning the full history around, so making that reorganization is important.

The other advice is to not import all the history, but to limit the import to the last significant baselines. (And keep ClearCase in read-only for archive)

you can find other advices in "Moving from ClearCase to Git", more centered around the workflow of merges and branches organization.


In term of tool: I haven't found one.

I use:

  • a dynamic view for rebasing to thee (full) baseline I want to export
  • a snapshot view I update once the rebase is done in the dynamic view.
  • a git repo working tree which I empty completely before copying the view snap content into it
  • a git repo directory (.git) separate
  • git commands with --work-tree referencing the updated working tree.

And I iterate for the few baselines I need to export from ClearCase/import into git.



来源:https://stackoverflow.com/questions/13759478/migration-from-ucm-clearcase-to-git

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