donaldp     02/04/04 02:31:56

  Modified:    src/main/org/apache/tools/ant/taskdefs/cvslib
                        ChangeLogParser.java
  Log:
  Fixed the following bug;
  
  processGetPreviousRevision method sets the status to GET_COMMENT but it 
should set it to
  GET_DATE otherwise the date information gets put in the comment and as the 
author is
  escaped using a CDATA, you finally get a CDATA inside a CDATA...
  
  Submitted By: Frederic Lavigne <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.6       +2 -2      
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java
  
  Index: ChangeLogParser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ChangeLogParser.java      4 Apr 2002 10:25:12 -0000       1.5
  +++ ChangeLogParser.java      4 Apr 2002 10:31:56 -0000       1.6
  @@ -64,7 +64,7 @@
    * A class used to parse the output of the CVS log command.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
  - * @version $Revision: 1.5 $ $Date: 2002/04/04 10:25:12 $
  + * @version $Revision: 1.6 $ $Date: 2002/04/04 10:31:56 $
    */
   class ChangeLogParser
   {
  @@ -253,7 +253,7 @@
           saveEntry();
   
           m_revision = m_previousRevision;
  -        m_status = GET_COMMENT;
  +        m_status = GET_DATE;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to