How do I move an existing CVS repository into TeamForge?

You can import and manage an existing CVS repository with TeamForge.

Do the following to move an existing CVS repository:

  1. Stop CVS access to the old repo.
    chmod -x /usr/bin/cvs
  2. Tar the old repo.
    cd /cvsroot/old_repo
    tar zcvf /tmp/old_repo.tar.gz
    cd..
    mv old_repo /tmp
  3. Restore CVS access.
    chmod +x /usr/bin/cvs
  4. Transfer the repo to the TeamForge CVS server.
  5. Create the new repo from within TeamForge.
    Browse to your project
    Click the Source Code button
    Create your new repo
  6. Untar the old repo.
    cd /cvsroot/new_repo
    tar zxvf /tmp/old_repo.tar.gz
  7. To synchronize permissions, perform the following steps.
    • Login as a TeamForge site admin
    • Click the Admin link
    • Click the Integrations button
    • Check the CVS integration you want
    • Click the Synchronize Permissions button
  8. Verify the new repo.
  9. Remove the old repo.
    /bin/rm -r /tmp/old_repo