About   Forum   Wiki   Home  

       
    Managed Chaos      
   
Naresh Jain’s Weblog on Object thinking, Patterns, Open Source, Agile and Adventure Sports

 
`
 
Tags
Recent Comments
Quick Search
Recent Entries
Categories
Archives
March 2005
M T W T F S S
« Feb   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  
Add to Technorati Favorites

Syndicate This Blog
Entries (RSS)
Comments (RSS)

How to move CVS repository without losing history?

  1. Log into the CVS repository server
  2. Go to the cvs root dir
  3. tar the whole cvs root dir using the following command tar -zcvf tarfileName .
  4. copy this tar file to the new cvs repository server under the appropriate directory
  5. untar the file using the following command tar -zxvf tarFileName
  6. Delete the CVSROOT folder
  7. Make sure on the new CVS repository server you have a group created called cvsUsers
  8. Change the ownership and group permission for access using the following commands
    • chown -R ./
    • chgrp -R ./
    • chmod -R 775 ./
    • chmod -R +s ./
  9. Execute the following command to initialize the CVS repository cvs -d init. This will create the CVSROOT folder under the cvs root directory
  10. Game over!

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a

    Licensed under
Creative Commons License
Design by vikivix