Re: CVS checkout source code for different branches

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: M Z <jm80008(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CVS checkout source code for different branches
Date: 2010-02-09 03:38:39
Message-ID: 4B70D8BF.7050504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 Tom Lane 2010-02-09 03:43:08 Re: [CFReview] Red-Black Tree
Previous Message Hitoshi Harada 2010-02-09 03:37:32 Re: review: More frame options in window functions