Re: [HACKERS] CVS

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] CVS
Дата
Msg-id 379332D0.3A6AF0F8@alumni.caltech.edu
обсуждение исходный текст
Ответ на CVS  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
Ответы Re: [HACKERS] CVS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@alumni.caltech.edu
South Pasadena, California


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: RE: [HACKERS] CVS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] CVS