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-09 04:24:46
Message-ID: e824728e1002082024s7018413ep37c5bd799cf8c936@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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> 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>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

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2010-02-09 04:32:26 Re: Confusion over Python drivers
Previous Message Jeff Davis 2010-02-09 04:20:19 Re: Confusion over Python drivers