ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/cvslib CvsTagDiff.java
Date Sun, 15 Jun 2003 19:37:11 GMT
antoine     2003/06/15 12:37:11

  Modified:    src/main/org/apache/tools/ant/taskdefs/cvslib
                        CvsTagDiff.java
  Log:
  fix handling in cvstagdiff of date time formatted as "dd-MM-yy hh:mm:ss"
  PR: 15995
  Obtained from: Rob Van Oostrum (rob at springwellfarms dot ca)
  
  Revision  Changes    Path
  1.13      +6 -6      ant/src/main/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java
  
  Index: CvsTagDiff.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CvsTagDiff.java	10 Feb 2003 14:13:43 -0000	1.12
  +++ CvsTagDiff.java	15 Jun 2003 19:37:11 -0000	1.13
  @@ -96,7 +96,7 @@
    * </PRE>
    *
    * @author <a href="mailto:fred@castify.net">Frederic Lavigne</a>
  - * @author <a href="mailto:rvanoo@xs4all.nl">Rob van Oostrum</a>
  + * @author <a href="mailto:rob@springwellfarms.ca">Rob van Oostrum</a>
    * @version $Revision$ $Date$
    * @since Ant 1.5
    * @ant.task name="cvstagdiff"
  @@ -216,10 +216,10 @@
   
           // build the rdiff command
           String rdiff = "rdiff -s " +
  -            (m_startTag != null ? ("-r " + m_startTag) : ("-D " + m_startDate))
  -            + " "
  -            + (m_endTag != null ? ("-r " + m_endTag) : ("-D " + m_endDate))
  -            + " " + m_package;
  +            (m_startTag != null ? ("-r " + m_startTag) : ("-D '" + m_startDate))
  +            + "' "
  +            + (m_endTag != null ? ("-r " + m_endTag) : ("-D '" + m_endDate))
  +            + "' " + m_package;
           log("Cvs command is " + rdiff, Project.MSG_VERBOSE);
           setCommand(rdiff);
   
  
  
  

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


Mime
View raw message