=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- www/anoncvs.html 2000/05/23 08:55:44 1.108 +++ www/anoncvs.html 2000/05/28 19:02:33 1.109 @@ -39,6 +39,8 @@
Anonymous CVS is a method of keeping your local copy of the OpenBSD source tree up to date with respect to changes made to current OpenBSD sources. +In addition to following the bleeding edge of development, it is +also possible to track the patches for errata of a release.
@@ -140,9 +142,17 @@
-CVS was designed to be a simple way to retrive and update your sources, therefore there -isn't much involved at all in doing so. To start off you must know which Anonymous CVS server you are going to use. A list of these servers is below. -Do, however, notice that there are only 3 ways to access these servers. +CVS was designed to be a simple way to retrieve and update your sources, +therefore there isn't much involved at all in doing so. You must first +decide whether you want to track current or a patch branch. +source tree. The current tree has all of the up to the minute changes, +whereas a patch branch contains a formal release plus the patches +from the errata already applied. + +
Once you have decided which tree to follow, you much choose which Anonymous +CVS server you are going to use. A list of these servers is +below. Do, however, notice that there are 3 ways +to access these servers.
-The above will checkout the most current sources. Many of you will only want the release sources, especially if you are patching your system. To checkout release sources you must specify a tag along with your command. Example: +The above will checkout the current source tree. Many of you will +only want a patch branch sources. To checkout a patch branch, you must +specify a tag along with your command. Example:
-# cd /usr; cvs checkout -rOPENBSD_2_6 src +# cd /usr; cvs checkout -P -rOPENBSD_2_7 src-Or OPENBSD_2_5 for 2.5, etc. +Or OPENBSD_2_6 for 2.6, etc. +
Currently only the OPENBSD_2_7 tag contains the release sources and +errata already applied.
(If you are following current):
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs # cd /usr # cvs -q get -PA src
(If you are following the patch branch for 2.7): +
+# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs +# cd /usr +# cvs -q get -rOPENBSD_2_7 -P src +
(If you are following current):
# cd /usr/src # cvs -q up -PAd+
(If you are following the patch branch for 2.7): +
+# cd /usr/src +# cvs -q up -rOPENBSD_2_7 -Pd ++ Everytime 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 @@ -468,16 +497,25 @@ encounter which are not in the repository.
-
-A
+flag to cvs, or you may find yourself tracking current instead.
+(If you are following current):
# cd /usr/src # cvs -d $CVSROOT -q up -PAd+
(If you are following a patch branch): +
+# cd /usr/src +# cvs -d $CVSROOT -q up -Pd ++
Warning: When using cvs you should take care that your current directory is either -the root of the tree you're referencing or in a separate place such as /tmp. +the root of the tree you are referencing or in a separate place such as /tmp. Some commands such as "get" can create an arbitrary sub-tree in the current directory, and a subsequent update will recursively flesh out this sub-tree. @@ -668,7 +706,7 @@