PR: MPCHANGELOG-55

fix revision passing on Linux and Windows


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@179934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2005-06-04 04:08:49 +00:00
parent 02f5742dde
commit cb36aaf659
2 changed files with 8 additions and 2 deletions

View File

@@ -84,8 +84,13 @@ class SvnChangeLogGenerator extends AbstractChangeLogGenerator
{
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;
}
/**

View File

@@ -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>