Clear Case to Git swarm Code base movement

132 Views Asked by At

I have to move code base from Clear Case to Git swarm. Inside the code there are lot of absolute path references based on /vobs/.... How to handle this scenario in this task with out code change ? Is this possible ?

1

There are 1 best solutions below

10
On

But there are lot of absolute path references based on /vobs/
How to handle this scenario in this task without code change?

Moving a ClearCase repo to a Git repo can be done without referencing any view path (like a dynamic view set with cleartool setview, and accessed through /vobs).
See this example.

But "inside the code",that does not seem to be a ClearCase or GitSwarm issue, more an issue with the content (scripts referencing /vobs/... in them)
You might need to artificially create a /vobs/ folder on the host where you clone/checkout a Git repo, in order to find back a path compatible with your scripts. If needed, /vobs/ can be a symlink to your checked out repo.
That would respect the "without code change" part of your question.