Computer And Technologies

Computer And Technologies: Removing Projects from CVS(linux)

Wednesday, 6 May 2009

Removing Projects from CVS(linux)

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 c

No comments:

Post a Comment