Re: CVS checkout source code for different branches - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: CVS checkout source code for different branches
Date
Msg-id 4B70D8BF.7050504@dunslane.net
Whole thread Raw
In response to CVS checkout source code for different branches  (M Z <jm80008@gmail.com>)
Responses Re: CVS checkout source code for different branches
List 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@anoncvs.postgresql.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






pgsql-hackers by date:

Previous
From: Hitoshi Harada
Date:
Subject: Re: review: More frame options in window functions
Next
From: Tom Lane
Date:
Subject: Re: [CFReview] Red-Black Tree