Posted on 2006-03-23
Last Modified: 2010-04-21

I used Clearcase on unix for some years but never used CVS.
Now my company is asking me to port a whole vob of source code
into CVS under a crashing timeline. Would any one tell me the
major steps in how to do this so that I don't have to read the
CVS document from beging to the end?

Thanks a lot.

Question by:jfz2004
    LVL 11

    Accepted Solution


    The task of moving every file in even a small Clearcase VOB is not simple, and certainly worth more than a measly 50 points ;-)

    However, if you have some perl skills, and a good knowledge of Clearcase, there is a reasonable starting point in the script found at:

    There are significant differences between CC and CVS, and you will lose a lot of functionality, locking and access control.  Plus CVS has a very terse and awkward command set.  You will *definitely* have to read the CVS manual from beginning to end, several times and there will be plenty of head scratching to be done.

    I only know of one project where this was succesfully achieved.  There was a team of three people doing the work and it took about three weeks to complete.  After that, several months elapsed before the development and release teams began to settle back into a steady, manageable model.
    LVL 61

    Expert Comment

    In that script you will have to check out every revision of every file and check in into CVS.
    We did that between CVS and SubVersion ( CVS lacks diff for binary files if you did not notice), it takes long at best.
    LVL 51

    Expert Comment

    you have to extract all files from CC, and import them into CVS
    If you need the history too, you have to do that for each revision. Note that you loose the timestamp of the revision then.

    Also, if you plan to go from a more sophisticated system (like CC), to a more simple (not saying dumb:) system like CVS, you need to be aware that you loose functionality. Your decission depends on "what" you want to do and "how many" people are working with it. Keep in mind that the "C" in CVS stands for "concurrent editing" which unfortunately is one of its feature which don't work reliable. Sigh.
    Said this, even without asked for, you probaly want to check others like subversion or gid, depending on your requirements.

    Author Comment

    Thanks a lot for such prompt help.
    I will look into that perl script.


    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now