Removing Projects from CVS

by Jeff Hunter, Sr. Database Administrator

This article describes the steps necessary to remove a project from the CVS repository. For the purpose of this article, the project we will want to remove is ProjectX and the directory location for the repository is /var/lib/cvsroot.

Deleting a project from the CVS repository is nothing more than deleting its directory structure from within the repository. Here is a short list of the steps:

  1. First, ensure that all users have commited and released their project work area (sandbox) before you attempt to delete the project.

  2. Now, delete the directory structure for your project from the CVS repository. In this example, I will be deleting the project named "ProjectX" from the repository:
    % cd /var/lib/cvsroot
    % ls -l
    total 4
    drwxrwsr-x   3 cvs      cvsdev      1024 Jan 23 19:30 CVSROOT/
    drwxrwsr-x   2 oracle   cvsdev       512 Jan 24 19:38 ProjectX/
    % rm -rf ProjectX

  3. It is possible for a project to have entries in the scripting files within the CVSROOT directory. The most critical scripting file to check is modules, as this file defines module names that can be used as parameters to most CVS commands.

Last modified on: Saturday, 18-Sep-2010 18:16:11 EDT
Page Count: 53265