bodewig 00/11/08 09:14:28
Modified: . WHATSNEW
docs index.html
Log:
Updated documentation for cvs task.
Submitted by: Julian M. Savage <[EMAIL PROTECTED]>
Revision Changes Path
1.46 +1 -1 jakarta-ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- WHATSNEW 2000/11/06 14:32:24 1.45
+++ WHATSNEW 2000/11/08 17:13:56 1.46
@@ -6,7 +6,7 @@
* A GUI Frontend: Antidote
-* New tasks: propertyfile, depend, antlr
+* New tasks: propertyfile, depend, antlr, telnet
* Added output attribute to <java>.
1.147 +6 -1 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- index.html 2000/11/06 14:10:56 1.146
+++ index.html 2000/11/08 17:14:17 1.147
@@ -1434,7 +1434,7 @@
<h2><a name="cvs">Cvs</a></h2>
<h3>Description</h3>
<p>Handles packages/modules retrieved from a
-<a href="http://www.cyclic.com/">CVS</a> repository.</p>
+<a href="http://www.cvshome.org/">CVS</a> repository.</p>
<p>When doing automated builds, the <a href="#get">get task</a> should be
preferred over the <i>checkout</i> command, because of speed.</p>
<h3>Parameters</h3>
@@ -1505,6 +1505,11 @@
<pre> <cvs dest="${ws.dir}" command="update"
/></pre>
<p>updates the package/module that has previously been checked out into
"${ws.dir}".</p>
+<pre> <cvs command="-q diff -u -N"
output="patch.txt"/></pre>
+<p>silently (-q) creates a file called patch.txt which contains a unified
(-u) diff which includes new files added via "cvs add" (-N) and can
be used as input to patch.</p>
+<pre> <cvs command="update -A -d"/></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 "as-is" so any
cvs options should appear before the command, and any command options should
appear after the command as in the diff example above. See <a
href="http://www.cvshome.org/docs/manual/index.html">the cvs manual</a> for
details, specifically the <a
href="http://www.cvshome.org/docs/manual/cvs_16.html">Guide to CVS
commands</a></p>
<hr>
<h2><a name="delete">Delete</a></h2>
<h3>Description</h3>