Re: [HACKERS] CVS

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] CVS
Date: 1999-07-19 14:14:40
Message-ID: 379332D0.3A6AF0F8@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Once a new tag or release has been applied to the CVS tree, is a new
> checkout required, or can I just update with the new tag? Do I need
> to specify a tag when updating? If not, which branch is used? Are
> there separate branches for 6.5 bug-fixes and 6.6 development?

If you want to continue working out of the main branch, you can just
do a

cvs update -PdA pgsql

to get the latest updates. If you want to work on the REL6_5_PATCHES
branch, you will need to do a separate checkout (afaik), using

cvs checkout -rREL6_5_PATCHES pgsql

and, of course, you will then be working out of the branch, and never
see the main branch again. The branch tags are "sticky", so after
checking out REL6_5_PATCHES a subsequent

cvs update -Pd pgsql

will continue to get you that branch.

That is another reason why using CVSup to maintain a local copy of the
cvs repository is so convenient; it maintains info on all branches, so
there is no extra work over the network to check out another branch.

btw, although I recommended using the "-PdA" set of switches when
working on the main branch, the "-A" is in fact somewhat dangerous in
the sense that once you have checked out a branch such as
REL6_5_PATCHES then an inadvertent update using "-A" will have you
looking at the main branch instead. It may be better to not use that
switch at all...

- Thomas

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

  • CVS at 1999-07-19 08:41:05 from Ansley, Michael

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-07-19 14:19:46 Re: [HACKERS] CVS
Previous Message The Hermit Hacker 1999-07-19 14:05:29 Re: [HACKERS] New version number 6.6 or 7.0