ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks cvs.html
Date Thu, 04 Apr 2002 10:34:22 GMT
bodewig     02/04/04 02:34:22

  Modified:    docs/manual/CoreTasks cvs.html
  Log:
  Documentation for <cvs> changes
  
  PR: 7433
  Submitted by:	stephan beal <stephan@wanderinghorse.net>
  
  Revision  Changes    Path
  1.11      +37 -2     jakarta-ant/docs/manual/CoreTasks/cvs.html
  
  Index: cvs.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/cvs.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- cvs.html	4 Apr 2002 07:43:35 -0000	1.10
  +++ cvs.html	4 Apr 2002 10:34:22 -0000	1.11
  @@ -23,9 +23,15 @@
     <tr>
       <td valign="top">command</td>
       <td valign="top">the CVS command to execute.</td>
  -    <td align="center" valign="top">No, default &quot;checkout&quot;</td>
  +    <td align="center" valign="top">No, default &quot;checkout&quot;.</td>
     </tr>
     <tr>
  +    <td valign="top">commpression</td>
  +    <td valign="top"><code>true</code>, <code>false</code>,
or the number 1-9 (corresponding to possible values for CVS&apos; <code>-z#</code>
argument). Any other value is treated as false</td>
  +    <td align="center" valign="top">No. Defaults to no compression. if passed <code>true</code>,
level 3 compression is assumed.</td>
  +  </tr>
  +
  +  <tr>
       <td valign="top">cvsRoot</td>
       <td valign="top">the CVSROOT variable.</td>
       <td align="center" valign="top">No</td>
  @@ -107,8 +113,37 @@
   <pre>  &lt;cvs dest=&quot;${ws.dir}&quot; command=&quot;update&quot;/&gt;</pre>
   <p>updates the package/module that has previously been checked out into
   &quot;${ws.dir}&quot;.</p>
  +
   <pre>  &lt;cvs command=&quot;-q diff -u -N&quot; output=&quot;patch.txt&quot;/&gt;</pre>
  -<p>silently (-q) creates a file called patch.txt which contains a unified (-u) diff
which includes new files added via &quot;cvs add&quot; (-N) and can be used as input
to patch.</p>
  +
  +<p>silently (-q) creates a file called patch.txt which contains a unified (-u) diff
which includes new files added via &quot;cvs add&quot; (-N) and can be used as input
to patch.
  +The equivalent, using  &lt;commandline&gt; elements, is:
  +</p>
  +<pre>
  +&lt;cvs output="patch"&gt;
  +    &lt;commandline&gt;
  +        &lt;argument value="-q"/&gt;
  +        &lt;argument value="diff"/&gt;
  +        &lt;argument value="-u"/&gt;
  +        &lt;argument value="-N"/&gt;
  +    &lt;/commandline&gt;
  +&lt;/cvs&gt;
  +</pre>
  +or:
  +<pre>
  +&lt;cvs output="patch"&gt;
  +    &lt;commandline&gt;
  +        &lt;argument line="-q diff -u -N"/&gt;
  +    &lt;/commandline&gt;
  +&lt;/cvs&gt;
  +</pre>
  +<p>
  +You may include as many &lt;commandline&gt; elements as you like. 
  +Each will inherit the <code>failonerror</code>, <code>compression</code>,
and other &quot;global&quot; parameters
  +from the <code>&lt;cvs&gt;</code> element.
  +</p>
  +
  +
   <pre>  &lt;cvs command=&quot;update -A -d&quot;/&gt;</pre>
   <p>Updates from the head of repository ignoring sticky bits (-A) and creating any
new directories as necessary (-d).</p>
   <p>Note: the text of the command is passed to cvs &quot;as-is&quot; so any
cvs options should appear
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message