mohaseeb
mohaseeb

Reputation: 389

Migration from UCM ClearCase to GIT

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.

Upvotes: 3

Views: 3278

Answers (1)

VonC
VonC

Reputation: 1323953

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.

Upvotes: 1

Related Questions