XNSIO
  About   Slides   Home  

 
Managed Chaos
Naresh Jain's Random Thoughts on Software Development and Adventure Sports
     
`
 
RSS Feed
Recent Thoughts
Tags
Recent Comments

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!

    Licensed under
Creative Commons License