[BACK]Return to anoncvs.html CVS log [TXT][DIR] Up to [local] / www

Diff for /www/anoncvs.html between version 1.11 and 1.12

version 1.11, 1997/04/09 14:01:44 version 1.12, 1997/04/20 01:14:48
Line 56 
Line 56 
 of the read-write CVS repository are mirrored often. To use one,  of the read-write CVS repository are mirrored often. To use one,
 set your <strong>CVSROOT</strong> environment variable to one of  set your <strong>CVSROOT</strong> environment variable to one of
 the following values:  the following values:
   <p>
   <strong>Please see the note about using ssh vs. rsh below!</strong>
   <p>
 <ul>  <ul>
 <p>  <p>
 <li><strong>CVSROOT=anoncvs@anoncvs.usa.openbsd.org:/cvs</strong><br>  <li><strong>CVSROOT=anoncvs@anoncvs.usa.openbsd.org:/cvs</strong><br>
Line 144 
Line 147 
 % setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs  % setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs
 % cd /tmp  % cd /tmp
 % cvs get src/sys/arch/sparc  % cvs get src/sys/arch/sparc
 [copies the files from the repository to your machine]      [copies the files from the repository to your machine]
 % cvs log src/sys/arch/sparc/sparc/locore.s  % cvs log src/sys/arch/sparc/sparc/locore.s
 [shows the commit log for the chosen file ]      [shows the commit log for the chosen file ]
 % cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s  % 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]      [shows the changes between revisions 1.1 and rev 1.5]
 </pre>  </pre>
 </p>  </p>
   
Line 160 
Line 163 
 # cd /usr  # cd /usr
 # cvs -q get -PA src  # cvs -q get -PA src
 </pre>  </pre>
 or similarily later on he might try  or similarily later on he might try:
 <pre>  <pre>
 # cd /usr/src  # cd /usr
 # cvs -q up -PAd  # cvs -q up -PAd src
 </pre>  </pre>
 Everytime you ran this it would syncronize your /usr/src tree. It would  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  not destroy any of your local changes, rather it would attempt to merge
Line 174 
Line 177 
 </p>  </p>
   
 <p>  <p>
   or to make a diff of a locally patched module (here cd.c) to include with
   a bug report:
   <pre>
   # cd /usr
   # cvs diff -u src/sys/scsi/cd.c > /tmp/patch
   </pre>
   </p>
   
   <p>
 The CVS man page (included with the CVS sources) has much more  The CVS man page (included with the CVS sources) has much more
 information about how CVS can be used.  information about how CVS can be used.
 </p>  </p>
   
 <p>  <p>
   <strong>Warning:</strong>
   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.
   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.
   </p>
   
   <p>
 The anoncvs service gives fledgling developers a chance to learn CVS  The anoncvs service gives fledgling developers a chance to learn CVS
 operation and get thoroughly involved in the development process  operation and get thoroughly involved in the development process
 before getting "commit" access -- as a result of showing useful  before getting "commit" access -- as a result of showing useful
Line 188 
Line 208 
 </p>  </p>
   
 <p>  <p>
 The CVS client uses rsh to talk to the CVS server.  If some local  <strong>Anoncvs rsh vs. ssh</strong>
 security measure like a firewall (or imperfect protocol emulators  <br>
 like slirp) prevents you from using rsh, you may be able to use  By default, the CVS client uses rsh to talk to the CVS server.  Many
 <a href=http://www.cs.hut.fi/ssh>ssh</a> instead.  In this case,  of the CVS sites no longer supprt rsh for security reasons or a local
   problem like a firewall or imperfect protocol emulator such as slirp
   may prevent you from using rsh.
   The alternative is a to use a "secure shell" connection using
   <a href=http://www.cs.hut.fi/ssh>ssh</a>.  This is a commerical product
   offered by <a href=http://www.ssh.fi>SSH Communications Security Ltd</a>,
   however they make a free unix version available that can be easily
   installed under OpenBSD.  You can download the unix version from
   <a href=http://www.cs.hut.fi/ssh>http://www.cs.hut.fi/ssh</a> or one of
   the mirrors listed there.
   </p>
   <p>
   In this case,
 one sets the environment variable <strong>CVS_RSH</strong> to point  one sets the environment variable <strong>CVS_RSH</strong> to point
 to ssh (typically <strong>/usr/local/bin/ssh</strong>). To reduce the  to ssh (typically <strong>/usr/local/bin/ssh</strong>). To reduce the
 performance hit the anoncvs server would take it is recommended (and  performance hit the anoncvs server would take it is recommended (and

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12