=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.162 retrieving revision 1.163 diff -u -r1.162 -r1.163 --- www/anoncvs.html 2002/01/29 22:08:36 1.162 +++ www/anoncvs.html 2002/02/02 05:10:32 1.163 @@ -509,6 +509,13 @@

Example usages for cvs(1)

+

+NOTICE: If want to update a branch (such as a patch branch) +to current, you would add the the -A +flag to cvs, but this flag is of little use otherwise. Some older +versions of the OpenBSD documentation recommended use of this flag +in many examples. We no longer recommend this flag unless absolutely necessary. +

A sample use of an anoncvs server would be:

@@ -549,7 +556,7 @@
 
 	# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
 	# cd /usr
-	# cvs -q get -PA src
+	# cvs -q get -P src
 

(If you are following the patch branch for 2.9): @@ -564,7 +571,7 @@

(If you are following current):

 	# cd /usr/src
-	# cvs -q up -PAd
+	# cvs -q up -Pd
 

(If you are following the patch branch for 2.9): @@ -581,24 +588,14 @@ encounter which are not in the repository.

-

  • NOTES: if you are updating a source tree that you initially fetched +
  • 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. If you are following -a patch branch, be sure to always omit the -A -flag to cvs, or you may find yourself tracking current instead. - -

    (If you are following current): +add the -d $CVSROOT options to cvs.

     	# 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
     
    -
  • @@ -609,7 +606,7 @@
     	# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
     	# cd /usr
    -	# cvs -q get -PA ports
    +	# cvs -q get -P ports
     

    (If you are following the patch branch for 2.9): @@ -622,7 +619,7 @@

    (If you are following current):

     	# cd /usr
    -	# cvs -q up -PAd ports
    +	# cvs -q up -Pd ports
     

    (If you are following the patch branch for 2.9):

    @@ -653,28 +650,30 @@
     

    X11 Source tree

    -Anoncvs mirrors also carry the OpenBSD X11 source tree. You can adapt -the recipe above to update your X11 source tree from the second CD. -Either copy or use a union mount to get the X11 sources in /usr/X11: +Anoncvs mirrors also carry the OpenBSD X11 (XFree86) source tree. You can adapt +the recipe above to update your XFree86 source tree from the second CD. +You can copy or download the XFree86 3 source tree with the X11 cvs module, +although the current module containing XFree86 4 is XF4. +There are two ways to get the XF4 sources to /usr/XF4:

    -After this, /usr/X11 will be ready to be used by cvs. You can for +After this, /usr/XF4 will be ready to be used by cvs. You can for example update it to -current source (assuming you've already set the CVSROOT environment variable):
    -        # cd /usr/X11
    -        # cvs -q update -PAd
    +        # cd /usr/XF4
    +        # cvs -q update -Pd
     

    @@ -786,7 +785,7 @@ OpenBSD www@openbsd.org -
    $OpenBSD: anoncvs.html,v 1.162 2002/01/29 22:08:36 horacio Exp $ +
    $OpenBSD: anoncvs.html,v 1.163 2002/02/02 05:10:32 chris Exp $