[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
migrate from clearcase
From: |
Alexei Matveev |
Subject: |
migrate from clearcase |
Date: |
Sun, 26 Oct 2003 20:49:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
Hello,
I wonder if anybody has written a
script to migrate a ClearCase repository to CVS.
A suitable script would preserve at least
release tags and branch structure.
My own "proof of concept" does not do that.
I am relatively new to CVS.
What caveats can you see in processing the
following tree:
file.f90@@/main/0
file.f90@@/main/1 ( RELEASE_1_0 )
file.f90@@/main/branch/0
file.f90@@/main/branch/1
file.f90@@/main/branch/subbranch/0
file.f90@@/main/branch/subbranch/1
file.f90@@/main/branch/2
file.f90@@/main/2 ( RELEASE_1_1 )
...
foreach f ( from_the_list_above )
# parse the name $f to obtain
# the deapest branch name and release tags
cat $CCASE/$f > $f
cvs add $f # if /main/0 only
# HERE I AM NOT SURE AT ALL:
cvs ci -b -r $name_of_the_current_brunch $f
cvs tag $release_tags $f
end foreach
What would you do with "removed" files in older versions
of directories?
Alexei
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- migrate from clearcase,
Alexei Matveev <=