info-cvs
[Top][All Lists]
Advanced

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

Re: co -D 'the time revision 5.4 of a.c was committed'


From: Russ Sherk
Subject: Re: co -D 'the time revision 5.4 of a.c was committed'
Date: Tue, 25 Oct 2005 07:58:20 -0400



On 24 Oct 2005 23:31:38 -0700, bill pursell <address@hidden> wrote:
Currently, the thing that annoys me about CVS is that I can't
seem to get a copy of the tree as it was at a certain time.
That's not quite what I mean.  Suppose I want to know what
the module foo looked like when a particular revision, say 5.4,
of file a.c was checked in.  Currently, I have to checkout foo, look
at the log for a.c to determine the time that revision 5.4 was
committed, and then checkout the module with -D for that time.
3 steps instead of 1.  How does one do that directly?

Hi,

Revision numbers are for CVS' internal use.  To take a snapshot of a codebase, you should use tags (and possibly branches).  A good starting point is section 4 of the cvs manual 'Revisions' (http://www.network-theory.co.uk/docs/cvsmanual/).  Specifically the tags section (http://www.network-theory.co.uk/docs/cvsmanual/cvs_48.html).

E.g.
#Apply a tag
cvs tag MY_SNAPSHOT_0_1 myModule
...
#Check out the snapshot later
cvs co -r MY_SNAPSHOT_0_1 myModule

--Russ

_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs


reply via email to

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