=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.463 retrieving revision 1.464 diff -c -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,18 **** --- 12,18 ---- *************** *** 89,97 **** # tar xzf /tmp/ports.tar.gz !
If you are following current:
--- 107,128 ---- If you begin with src.tar.gz and sys.tar.gz as mentioned above, you can skip the initial get and proceed to updating.+ 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. + +
Getting an initial tree
+ + The following commands assume that your user is member of the wsrc + group: + +If you are following current:
*************** *** 145,156 ****!Are you sure you want to continue connecting (yes/no)? yes ! Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts.- Any time afterwards, to update this tree: -
If you are following current:
---- 157,167 ----!Are you sure you want to continue connecting (yes/no)? yes ! Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts.Updating an existing tree
If you are following current:*************** *** 169,176 **** It would not destroy any of your local changes; rather it would attempt to merge changes in. !!
- NOTE: 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. --- 180,187 ---- It would not destroy any of your local changes; rather it would attempt to merge changes in. !
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,189 **** $ 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 a bug report:
- - 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.
$ cd /usr $ cvs diff -u src/sys/scsi/cd.c > /tmp/patch