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

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-02-09 03:43:08
Subject: Re: [CFReview] Red-Black Tree
Previous:From: Hitoshi HaradaDate: 2010-02-09 03:37:32
Subject: Re: review: More frame options in window functions

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