[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS syntax confirmation
- To: misc_(_at_)_openbsd_(_dot_)_org, ben Goren <ben_(_at_)_trumpetpower_(_dot_)_com>
- Subject: Re: CVS syntax confirmation
- From: "Jay Moore" <jaymo_(_at_)_hiwaay_(_dot_)_net>
- Date: Sun, 17 Feb 2002 12:36:47 -0600
- Reply-to: jaymo_(_at_)_hiwaay_(_dot_)_net
On 16 Feb 2002,, you wrote:
> On Sat, Feb 16, 2002 at 07:13:38PM -0600, Jay Moore wrote:
>
> > On 16 Feb 2002,, you wrote:
> >
> > > On Sat, Feb 16, 2002 at 06:41:02PM -0600, Jay Moore wrote:
> > >
> > > > I'm updating a src tree I copied from the 2.9 cd. The
> > > > anoncvs page says to update to patch branch as follows:
> > > >
> > > > # cvs -d $CVSROOT -q up -Pd
> > >
> > > This will give you -current.
> >
> > Oh, shit - Well, I guess the anoncvs.html page should be
> > updated.
>
> What part of that page? Every example I see gives two
> possibilities, one for -current, one for the patch branch, both
> clearly labeled. I could be missing something....
It could be argued I was being a bit thick, but here it is:
Anytime afterwards, to `update' this tree:
(If you are following current):
# cd /usr/src
# cvs -q up -Pd
(If you are following the patch branch for 2.9):
# cd /usr/src
# cvs -q up -rOPENBSD_2_9 -Pd
Every time you ran this it would synchronize your /usr/src tree. It
would not destroy any of your local changes, rather it would attempt
to merge changes in. If you use obj directories (not obj symbolic
links) you may wish to append "-I obj" to the cvs command line, this
will keep cvs from spitting out a warning about all the obj
directories it is going to encounter which are not in the repository.
NOTE: If you are updating a source tree that you initially fetched from
a different server, or from a CD, you must add the -d $CVSROOT options
to cvs.
# cd /usr/src
# cvs -d $CVSROOT -q up -Pd
Add the follwing:
Or, if you installed the source tree from the cd, and want to follow
the patch branch:
# cd /usr/src
# cvs -d $CVSROOT -q up -rOPENBSD_2_9 -Pd
<NOTE: This msg was originally posted 16 Feb @ 20:33. It apparently
never got to the list, so I am re-sending. Please excuse any redundancy>
Visit your host, monkey.org