[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 questions about CVS

From: Todd Denniston
Subject: Re: 2 questions about CVS
Date: Fri, 03 Dec 2004 13:07:41 -0500

Jean Lee wrote:
> Hello all,
> I would like to know two things about CVS :
> - What is the method to remove completely a module from a repository ?
> Do I have only to erase the folder on the server side or is there
> anything else in $cvsroot/CVSROOT/ which keep trace of the modules ?
Physically removing files from the repository is USUALLY a BAD idea. Things
like not being able to recreate historical builds, come to mind. If you can
live with it `cvs remove -f` is usually the better way to go, it removes
things from current work but you can get it back for historic builds if

However, if you know you can live with out the history...
make sure the directory and/or any of that directory's subdirectories or
files are not used in $CVSROOT/CVSROOT/modules 
You'll probably have some history in the $CVSROOT/CVSROOT/history file, but
I think it CAN be ignored.
You will have to make sure any build system files (Makefile, Imake or
automake on unix) don't use data from the directory.
You will have to make sure none of your code uses data from the directory
(you knew this one:)

> - How can I do to obtain from a file in a module a previous version of
> this file ? For exemple, I have the 1.3 version of test.c and I want to
> see the 1.1 version. Is it possible ?

cvs checkout -p -r 1.1 test.c

> Thank you for any help,
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]