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

From M Z
Subject Re: CVS checkout source code for different branches
Date
Msg-id e824728e1002091851g4fc77fe5m3a0b31d543b0ac2a@mail.gmail.com
Whole thread Raw
In response to Re: CVS checkout source code for different branches  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: CVS checkout source code for different branches
List pgsql-hackers
Hi Andrew and all, <br /><br />I am still struggling with the branch repositories. I tried to checkout from branch
repositoriesbut got error no such repositories: <br /><br />$ cvs -z3 -d 
:pserver:anoncvs:password@anoncvs.postgresql.org:/projects/REL8_4_STABLEco -P pgsql<br /> /projects/REL8_4_STABLE: no
suchrepository<br /><br />$ cvs -z3 -d :pserver:anoncvs:password@anoncvs.postgresql.org:/projects/REL8_3_STABLE co -P
pgsql<br/>/projects/REL8_3_STABLE: no such repository<br /><br />$ cvs -z3 -d
:pserver:anoncvs:password@anoncvs.postgresql.org:/REL8_4_STABLEco -P pgsql<br /> /REL8_4_STABLE: no such repository<br
/><br/>$ cvs -z3 -d :pserver:anoncvs:password@anoncvs.postgresql.org:/REL8_3_STABLE co -P pgsql<br /> /REL8_3_STABLE:
nosuch repository<br /><br />What are the correct repositories for these branch? Is there a way I can list these branch
repositoriesand how?<br /><br />Many thanks,<br />M Z<br /><br /><div class="gmail_quote">On Mon, Feb 8, 2010 at 11:56
PM,Andrew Dunstan <span dir="ltr"><<a href="mailto:andrew@dunslane.net">andrew@dunslane.net</a>></span> wrote:<br
/><blockquoteclass="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left:1ex;"><br /> The only sane things to check out apart from HEAD are normally the STABLE branches. For
releasem.n those are always called RELm_n_STABLE. You can also get the tag set for a specific release. Those are called
RELm_n_ofor m.n.o releases.<br /><br /> If you look at the output for "cvs log <a href="http://configure.in"
target="_blank">configure.in</a>"you can see near the top a list of tag sets under the heading "symbolic names".<br
/><br/> HTH.<br /><br /><br /><br /> M Z wrote:<br /><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204,204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"> For example, how can I list all the
branchesfor postgresql 8.3 (and 8.4)? Now I can checkout code using:<br /> cvs -z3 -d
:pserver:anoncvs:password@anoncvs.postgresql.org:/projects/cvsrootco -P pgsql<br /><br /> But I don't know when version
itis, and I want get code from some postgresql 8.3 and 8.4 branches but I don't know the their cvsroot<br /><br />
Thanks<br/> M Z<br /><br /></div><div class="im"> On Mon, Feb 8, 2010 at 11:04 PM, M Z <<a
href="mailto:jm80008@gmail.com"target="_blank">jm80008@gmail.com</a> <mailto:<a href="mailto:jm80008@gmail.com"
target="_blank">jm80008@gmail.com</a>>>wrote:<br /><br />    Hi Andrew,<br /><br />    Could you please give a
littlemore detail how I can find<br />    different CVS branches?<br /><br />    Thanks,<br />    M Z<br /><br /><br
/><br/>    On Mon, Feb 8, 2010 at 10:38 PM, Andrew Dunstan<br /></div><div class="im">    <<a
href="mailto:andrew@dunslane.net"target="_blank">andrew@dunslane.net</a> <mailto:<a
href="mailto:andrew@dunslane.net"target="_blank">andrew@dunslane.net</a>>> wrote:<br /><br /><br /><br />      
 MZ wrote:<br /><br />            Hi,<br /><br />            I am trying to checkout code from different branches
(such<br/>            as 8.3, 8.4).<br /><br />            I found a few ways to checkout code from CVS:<br />        
  1. webCVS: <a href="http://anoncvs.postgresql.org/cvsweb.cgi/"
target="_blank">http://anoncvs.postgresql.org/cvsweb.cgi/</a><br/><br />            2. cvs -z3 -d<br />          
 :pserver:anoncvs:password@anoncvs.postgresql.org:/projects/cvsroot<br/>            co -P pgsql<br /><br />          
 3.$ rsync --progress -avzCH --delete<br />            anoncvs.postgresql.org::pgsql-cvs $CVSROOT<br /><br />          
 However,how can I checkout code from different branches<br />            (such as 8.3, 8.4)?<br /><br /><br /><br />  
    CVS is documented here, among other places:<br />        <<a
href="http://ximbiot.com/cvs/manual/cvs-1.11.20/cvs.html"
target="_blank">http://ximbiot.com/cvs/manual/cvs-1.11.20/cvs.html</a>><br/><br />        To check out a particular
branchsuch as REL8_4_STABLE, use<br />        the -r option on the checkout command:<br /><br />          cvs checkout
-rbranchname<br /><br />        cheers<br /><br />        andrew<br /><br /><br /><br /><br /><br /><br
/></div></blockquote></blockquote></div><br/> 

pgsql-hackers by date:

Previous
From: Takahiro Itagaki
Date:
Subject: Re: Largeobject Access Controls (r2460)
Next
From: Takahiro Itagaki
Date:
Subject: TRUNCATE+COPY optimization and --jobs=1 in pg_restore