Author: brett
Date: Fri Jun  3 21:08:49 2005
New Revision: 179934

URL: http://svn.apache.org/viewcvs?rev=179934&view=rev
Log:
PR: MPCHANGELOG-55
fix revision passing on Linux and Windows

Modified:
    
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/svnlib/SvnChangeLogGenerator.java
    maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml

Modified: 
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/svnlib/SvnChangeLogGenerator.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/svnlib/SvnChangeLogGenerator.java?rev=179934&r1=179933&r2=179934&view=diff
==============================================================================
--- 
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/svnlib/SvnChangeLogGenerator.java
 (original)
+++ 
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/svnlib/SvnChangeLogGenerator.java
 Fri Jun  3 21:08:49 2005
@@ -84,8 +84,13 @@
     {
         SimpleDateFormat outputDate = new SimpleDateFormat("yyyy-MM-dd");
         // Tell SVN to sort log entries from newest to oldest.
-        return "\"-r{" + outputDate.format(to) + "}:{" +
-            outputDate.format(before) + "}\"";
+        String cmd = "-r{" + outputDate.format(to) + "}:{" +
+            outputDate.format(before) + "}";
+        if ( System.getProperty( "os.name" ).startsWith( "Windows" ) )
+        {
+            cmd = "\"" + cmd + "\"";
+        }
+        return cmd;
     }
 
     /**

Modified: maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml?rev=179934&r1=179933&r2=179934&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml Fri Jun  3 21:08:49 
2005
@@ -26,6 +26,7 @@
   </properties>
   <body>
     <release version="1.8-SNAPSHOT" date="in SVN">
+      <action dev="brett" type="fix" issue="MPCHANGELOG-55">Fix problem 
parsing revisions on Linux introduced by MPCHANGELOG-29</action>
       <action dev="brett" type="fix" issue="MPCHANGELOG-63" due-to="David 
Jackman">Add the ability to show several sets of changes</action>
       <action dev="brett" type="fix" issue="MPCHANGELOG-23">Guess factory from 
connection</action>
       <action dev="brett" type="fix">Allow local CVSROOT to only have 5 tokens 
(no host name)</action>



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

Reply via email to