=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.463 retrieving revision 1.464 diff -u -r1.463 -r1.464 --- www/anoncvs.html 2016/09/09 14:31:25 1.463 +++ www/anoncvs.html 2016/09/20 01:01:12 1.464 @@ -12,7 +12,7 @@ @@ -89,9 +89,10 @@ # tar xzf /tmp/ports.tar.gz -
+Warning: +When using cvs, you should take care that your current directory is either the +root of the tree you are referencing or in a separate place such as +/tmp. +Some commands, such as cvs get, can create an arbitrary sub-tree in the +current directory, and a subsequent update will recursively flesh out this +sub-tree. + +
If you are following current:
@@ -145,12 +157,11 @@-Are you sure you want to continue connecting (yes/no)? yes -Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts. +Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts.- Any time afterwards, to update this tree: +
Updating an existing tree
-If you are following current:
-@@ -169,8 +180,8 @@ It would not destroy any of your local changes; rather it would attempt to merge changes in. --
- NOTE: +
Changing the server
+ If you are updating a source tree that you initially fetched from a different server, or from a tar file, you must add the -d [cvsroot] option to cvs. @@ -179,11 +190,13 @@ $ cd /usr/src $ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd
-To make a diff of a locally patched module (here cd.c) to include with +
- -The cvs(1) man page -(included with the CVS sources) has much more -information about how CVS can be used. - -$ cd /usr $ cvs diff -u src/sys/scsi/cd.c > /tmp/patch
-Warning: -When using cvs, you should take care that your current directory is either -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.