Skip site navigation (1) Skip section navigation (2)

Re: CVS checkout source code for different branches

From: M Z <jm80008(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CVS checkout source code for different branches
Date: 2010-02-10 02:51:52
Message-ID: e824728e1002091851g4fc77fe5m3a0b31d543b0ac2a@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi Andrew and all,

I am still struggling with the branch repositories. I tried to checkout from
branch repositories but got error no such repositories:

$ cvs -z3 -d  :pserver:anoncvs:password(at)anoncvs(dot)postgresql(dot)org:/projects/REL8_4_STABLE
co -P pgsql
/projects/REL8_4_STABLE: no such repository

$ cvs -z3 -d :pserver:anoncvs:password(at)anoncvs(dot)postgresql(dot)org:/projects/REL8_3_STABLE
co -P pgsql
/projects/REL8_3_STABLE: no such repository

$ cvs -z3 -d :pserver:anoncvs:password(at)anoncvs(dot)postgresql(dot)org:/REL8_4_STABLE
co -P pgsql
/REL8_4_STABLE: no such repository

$ cvs -z3 -d :pserver:anoncvs:password(at)anoncvs(dot)postgresql(dot)org:/REL8_3_STABLE
co -P pgsql
/REL8_3_STABLE: no such repository

What are the correct repositories for these branch? Is there a way I can
list these branch repositories and how?

Many thanks,
M Z

On Mon, Feb 8, 2010 at 11:56 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>
> The only sane things to check out apart from HEAD are normally the STABLE
> branches. For release m.n those are always called RELm_n_STABLE. You can
> also get the tag set for a specific release. Those are called RELm_n_o for
> m.n.o releases.
>
> If you look at the output for "cvs log configure.in" you can see near the
> top a list of tag sets under the heading "symbolic names".
>
> HTH.
>
>
>
> M Z wrote:
>
>> For example, how can I list all the branches for postgresql 8.3 (and 8.4)?
>> Now I can checkout code using:
>> cvs -z3 -d :pserver:anoncvs:password(at)anoncvs(dot)postgresql(dot)org:/projects/cvsroot
>> co -P pgsql
>>
>> But I don't know when version it is, and I want get code from some
>> postgresql 8.3 and 8.4 branches but I don't know the their cvsroot
>>
>> Thanks
>> M Z
>>
>> On Mon, Feb 8, 2010 at 11:04 PM, M Z <jm80008(at)gmail(dot)com <mailto:
>> jm80008(at)gmail(dot)com>> wrote:
>>
>>    Hi Andrew,
>>
>>    Could you please give a little more detail how I can find
>>    different CVS branches?
>>
>>    Thanks,
>>    M Z
>>
>>
>>
>>    On Mon, Feb 8, 2010 at 10:38 PM, Andrew Dunstan
>>    <andrew(at)dunslane(dot)net <mailto:andrew(at)dunslane(dot)net>> wrote:
>>
>>
>>
>>        M Z wrote:
>>
>>            Hi,
>>
>>            I am trying to checkout code from different branches (such
>>            as 8.3, 8.4).
>>
>>            I found a few ways to checkout code from CVS:
>>            1. webCVS: http://anoncvs.postgresql.org/cvsweb.cgi/
>>
>>            2. cvs -z3 -d
>>            :pserver:anoncvs:password(at)anoncvs(dot)postgresql(dot)org:
>> /projects/cvsroot
>>            co -P pgsql
>>
>>            3. $ rsync --progress -avzCH --delete
>>            anoncvs.postgresql.org::pgsql-cvs $CVSROOT
>>
>>            However, how can I checkout code from different branches
>>            (such as 8.3, 8.4)?
>>
>>
>>
>>        CVS is documented here, among other places:
>>        <http://ximbiot.com/cvs/manual/cvs-1.11.20/cvs.html>
>>
>>        To check out a particular branch such as REL8_4_STABLE, use
>>        the -r option on the checkout command:
>>
>>          cvs checkout -r branchname
>>
>>        cheers
>>
>>        andrew
>>
>>
>>
>>
>>
>>
>>

In response to

Responses

pgsql-hackers by date

Next:From: Takahiro ItagakiDate: 2010-02-10 02:56:54
Subject: TRUNCATE+COPY optimization and --jobs=1 in pg_restore
Previous:From: Takahiro ItagakiDate: 2010-02-10 02:26:58
Subject: Re: Largeobject Access Controls (r2460)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group