Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
test:cvs [2007/04/02 15:32] fantasaitest:cvs [2007/04/02 19:49] fantasai
Line 24: Line 24:
 ===== Using Command-line CVS ===== ===== Using Command-line CVS =====
  
-==== Setting ''$CVSROOT'' ====+==== Setting $CVSROOT ====
  
 <html> <html>
Line 33: Line 33:
       environment variable is usually the most convenient because then you       environment variable is usually the most convenient because then you
       only have to type it once; subsequent <code class="command">cvs</code>       only have to type it once; subsequent <code class="command">cvs</code>
- 
       commands will all use that <code>$CVSROOT</code> setting.</p>       commands will all use that <code>$CVSROOT</code> setting.</p>
  
Line 47: Line 46:
       </dl>       </dl>
       <p>where <var>cvsroot-string</var> is of the form       <p>where <var>cvsroot-string</var> is of the form
-        <code>:protocol:username@server:/path-to-repository</code>.</p+        <code>:protocol:username@server:/path-to-repository</code>(<strong>The 
 +        <var>cvsroot-string</varfor anonymous read-only access to dev.w3.org 
 +        is <code>:pserver:anonymous@dev.w3.org:/sources/public</code>.</strong>)</p>
     </div>     </div>
  
     <p>To use <code>-d</code> instead, add <kbd>-d <var>cvsroot-string</var></kbd>     <p>To use <code>-d</code> instead, add <kbd>-d <var>cvsroot-string</var></kbd>
       as the first argument after 'cvs' in each <code class="command">cvs</code>       as the first argument after 'cvs' in each <code class="command">cvs</code>
-      command.</p>+      command. For example:</p>
  
     <div class="example" title="Using the -d Option to Perform a Checkout">     <div class="example" title="Using the -d Option to Perform a Checkout">
Line 200: Line 200:
     <pre><kbd>cvs add -kb <var>filename</var></kbd></pre>     <pre><kbd>cvs add -kb <var>filename</var></kbd></pre>
 </html> </html>
 +
  
 ==== Removing Files ==== ==== Removing Files ====
  
 +<html>
     <p>To remove a file from the tree, first delete your own copy, then, from     <p>To remove a file from the tree, first delete your own copy, then, from
       its parent directory, issue the command</p>       its parent directory, issue the command</p>
Line 213: Line 215:
     <p class="note">CVS will still keep the revision history for the removed     <p class="note">CVS will still keep the revision history for the removed
       file.</p>       file.</p>
 +</html>
 
test/cvs.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki