CVS is the Concurrent Versions System, the dominant open-source
network-transparent version control system. CVS is useful for everyone from
individual developers to large, distributed teams:
- It's client-server access method lets developers access the latest code from anywhere there's an Internet connection.
- It's unreserved check-out model to version control avoids artificial conflicts common with the exclusive check-out model.
- It's client tools are available on most platforms.
CVS Home
CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs
CVSROOT=anoncvs@anoncvs.usa.openbsd.org:/cvs
CVSROOT=anoncvs@anoncvs5.usa.openbsd.org:/cvs
$ cd /usr/ports
$ cvs -q -d anoncvs@anoncvs5.usa.openbsd.org:/cvs up -r OPENBSD_3_1 -Pd
$ cvs -q -d pserver@anoncvs1.usa.openbsd.org:/cvs up -r OPENBSD_3_1 -Pd
(If you are following current):
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
# cd /usr
# cvs -q get -P ports
(If you are following the patch branch for 3.2):
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
# cd /usr
# cvs -q get -rOPENBSD_3_2 -P ports
Anytime afterwards, to `update' this tree:
(If you are following current):
# cd /usr
# cvs -q up -Pd ports
(If you are following the patch branch for 3.2):
# cd /usr
# cvs -q up -rOPENBSD_3_2 ports
In the above example, -q is optional, only intended to minimize cvs's output.
For those who like to see screenfulls of output, it can be omitted.
-----------------------------------------------------------------------------
In order to use a cvs ``pserver'' (a direct TCP connection instead of using
ssh or rsh) you must login once:
% setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs
% cvs login
(Logging in to anoncvs@anoncvs1.ca.openbsd.org)
CVS password: anoncvs
[This writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).]
[An example line from my ~/.cvspass after typing 'blah' for the above ]
[password is: ]
[:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc ]
[After logging in ONCE every other use of the above CVSROOT will work. ]
% cvs get ksrc-i386 ksrc-common
[Allows you to retrieve ONLY that necessary to rebuild an i386 kernel. ]
-----------------------------------------------------------------------------
To use ports, it is similar to src:
(If you are following current):
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
# cd /usr
# cvs -q get -P ports
(If you are following the patch branch for 3.2):
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
# cd /usr
# cvs -q get -rOPENBSD_3_2 -P ports
Anytime afterwards, to `update' this tree:
(If you are following current):
# cd /usr
# cvs -q up -Pd ports
(If you are following the patch branch for 3.2):
# cd /usr
# cvs -q up -rOPENBSD_3_2 ports
Links: OpenBSD CVS
Links