[Top][All Lists]

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

Re: CVS/RCS notion of "state"

From: Derek R. Price
Subject: Re: CVS/RCS notion of "state"
Date: Tue, 29 May 2001 16:02:19 -0400

address@hidden wrote:

> It is my understanding that CVS supports the RCS notion of "state".
> In other words a developer can mark a source file as being in a
> particular state such as "Exp(erimental)" or "Rel(eased)".  This is
> done using the following command. cvs admin -sRel myfile.txt. My
> question is how can one then checkout files by state rather than by
> revision or tag.  For example I might have 10 differnet revs of a file
> 5 experimental 1 release and 4 more revs experimental.  Suppose I want
> to checkout only the "Released" revision; for multiple files yet. cvs
> checkout -(some command here)"Rel" myfile.txt  // or cvs checkout
> -(some command here)"Rel" *.txt  Regards,Chuck

It supports it in the sense that the information is still in the files
and preserved, but it is only used internally now (e.g. deleted files
are marked "dead").

You should be able to mimic this using tags though.  Tag releases with
one tag, keep experimental versions on a branch or vice versa.  Read the
sections of the manual on on tags and branches and if
you don't have the idea yet, Karl Fogel's book has some good
explanations of this and other typical release management processes
using CVS.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden         CollabNet ( )
I will not charge admission to the bathroom.
I will not charge admission to the bathroom.
I will not charge admission to the bathroom...

          - Bart Simpson on chalkboard, _The Simpsons_

reply via email to

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