[Top][All Lists]

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

Re: CVS question

From: Pierre Asselin
Subject: Re: CVS question
Date: 11 Apr 2002 23:44:39 -0400

In <address@hidden> =?iso-8859-1?q?Nicolas=20PEZRON?= <address@hidden> writes:

>I thought that to you use CVS, you had to copy the
>source of your first version of your program and
>after, you will be able to retrieve all the versions
>of your program

More or less.  You clean up your source tree of compiled objects
and other generated files and you import it into CVS.  You can then
delete the sources (!) but most people get a bit nervous at this point
and prefer to tar or zip the tree into an archive before blowing it

You then check out a new copy ("sandbox") from CVS and work on it
forevermore, never going close to the original source tree or its

>but, if you want to add a new file to your CVS tree,
>do you have to copy first the source of this file in
>order to be able to retrieve its versions after ?

Copy it from where?  Normally you will have created the new file
right in the sandbox, since that's where you normally work.  You
do need to tell CVS about the new file with the 'cvs add' command,
but that's about it.  The next time you commit, the first revision
of your new file will be created in the repository.

reply via email to

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