Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 1996 22:35:40 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        karl@mcs.com (Karl Denninger MCSNet)
Subject:   Re: CVS basics?
Message-ID:  <199607252035.WAA23236@uriah.heep.sax.de>
In-Reply-To: <m0ujT85-000IDOC@venus.mcs.com> from "Karl Denninger, MCSNet" at "Jul 25, 96 11:19:13 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Karl Denninger, MCSNet wrote:

> Possible?  Tutorials anywhere?  Where do I get the list of collections and
> common commands?

dump 0 ...
setenv CVSROOT ...
cd /usr
rm -rf src
cvs co src
cd src/sys/...
(create new kernel, and see whether it will boot)
cd /usr/src
make world

This should help upgrading, but it might fall apart somewhere in the
make world, so you have to bootstrap something manually, and continue
to build.

After this, all you need to do is:

cd /usr/src
cvs update -Pd -A

This will update your src tree.  Local modifications will be retained,
but might cause conflicts in case somebody changed the original source
in a different way.

Other interesting things:

cvs co -c | fgrep module_name_youre_looking_for

cd /some/where
cvs co some_module
cd some_module
<hack around>
cd ..
cvs diff -u some_module | ... | send-pr  <submit enhancement request> :-)
cvs -Q release -d some_module  <kill it again>

cvs diff -u -rRELENG_2_1_0_RELEASE -rRELENG_2_1_0_RELEASE /usr/src/sbin/init

...to learn about the differences of init(8) between 2.1R and 2.1.5R.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607252035.WAA23236>