ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant patch.xml
Date Tue, 02 Sep 2003 14:54:14 GMT
bodewig     2003/09/02 07:54:14

  Modified:    .        patch.xml
  Log:
  fix inconsistent handling of cvs.found - fail if we cannot use CVS
  
  Revision  Changes    Path
  1.6       +3 -1      ant/patch.xml
  
  Index: patch.xml
  ===================================================================
  RCS file: /home/cvs/ant/patch.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- patch.xml	23 Jun 2003 11:54:14 -0000	1.5
  +++ patch.xml	2 Sep 2003 14:54:14 -0000	1.6
  @@ -22,7 +22,9 @@
           </or>
       </condition>
   
  -    <target name="createpatch" if="cvs.found">
  +    <target name="createpatch">
  +        <fail unless="cvs.found"
  +              message="You need a version of cvs to create the patch"/>
           <cvs command="-q diff -u" output="${patch.file}"/>
       </target>
   
  
  
  

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


Mime
View raw message