info-cvs
[Top][All Lists]
Advanced

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

Re: How to checkout old version


From: Alan D. Salewski
Subject: Re: How to checkout old version
Date: Mon, 29 Sep 2008 09:34:27 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Sep 29, 2008 at 08:51:28AM +0800, w wg spake thus:
> Hi,
> 
> I'm trying to get sqlite source from its CVS system. I have checked it
> out the project, but it is the latest.
> 
> I want to get an old version (ie: 3.3.6), what command should use ?
> 
> Thank you.
> 
> --
> wwg

Hi wwg,

Assuming version 3.3.6 was tagged as such, you'll need to find out the
exact name of the tag. One simple way to do that would be to pick a file
in your CVS working directory that's likely to have been around for most
(or all) tags and invoke 'cvs status -v' on it. Most projects have a
'README' file or similar in the top-level source code directory that
works well for this purpose:

    $ cvs status -v README

The output will list, among other things, the various CVS tags
associated with that file. You can then use one of the tags to check out
the version that you're interested in:

    $ cvs co -r SOME_TAG_NAME_3-3-6 PROJECT_NAME

HTH,
-Al

-- 
a l a n   d.   s a l e w s k i             address@hidden
--------------------------------------------------------------------
                    Bullet enters body freely..
            A blossom of red with a bouquet of smoke...
                          OW that hurts!
--------------------------------------------------------------------
Generated from Haiku-O-Matic:           www.smalltime.com/haiku.html




reply via email to

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