=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.26 retrieving revision 1.27 diff -c -r1.26 -r1.27 *** www/anoncvs.html 1997/09/01 22:04:32 1.26 --- www/anoncvs.html 1997/10/01 19:27:28 1.27 *************** *** 74,79 **** --- 74,81 ---- will work OK.

CVS COMMAND SUMMARY

+
cvs [cvs args] [cvs command] [cvs command args] +
below is a listing of commonly used cvs commands.
add
Add a new file or directory to the repository. *************** *** 233,238 **** --- 235,241 ----

A sample use of an anoncvs CVS server would be: +

      % setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs
      % cd /tmp
    ***************
    *** 243,248 ****
    --- 246,252 ----
      % cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s
          [shows the changes between revisions 1.1 and rev 1.5]
      
    +

*************** *** 267,288 ****

Here is how someone using anoncvs regularily would update his source tree:

  # setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs
  # cd /usr
  # cvs -q get -PA src
  
! or similarily later on he might try:
  # cd /usr
  # cvs -q up -PAd src
  
Everytime you ran this it would syncronize 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 wish to append "-I obj" to the cvs command line, this will keep cvs from spitting out a warning about all the obj directories it is going to encounter which are not in the repository.

--- 271,302 ----

Here is how someone using anoncvs regularily would update his source tree: +

  • First, startout by `get'-ing an initial tree: +
      # setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs
      # cd /usr
      # cvs -q get -PA src
      
    !
  • !
  • Anytime afterwards, to `update' this tree:
      # cd /usr
      # cvs -q up -PAd src
      
    + Everytime you ran this it would syncronize 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 wish to append "-I obj" to the cvs command line, this will keep cvs from spitting out a warning about all the obj directories it is going to encounter which are not in the repository. +
  • +
+ + 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.

*************** *** 388,394 ****


OpenBSD www@openbsd.org !
$OpenBSD: anoncvs.html,v 1.26 1997/09/01 22:04:32 beck Exp $ --- 402,408 ----
OpenBSD www@openbsd.org !
$OpenBSD: anoncvs.html,v 1.27 1997/10/01 19:27:28 todd Exp $