maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r201608 - in /maven/scm/trunk: maven-scm-api/src/main/java/org/apache/maven/scm/command/update/ maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/command/update/
Date Fri, 24 Jun 2005 12:53:58 GMT
Author: evenisse
Date: Fri Jun 24 05:53:57 2005
New Revision: 201608

URL: http://svn.apache.org/viewcvs?rev=201608&view=rev
Log:
create an empty list if changelog command isn't implemented or if there are no modification

Modified:
    maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/command/update/LocalUpdateCommand.java

Modified: maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java?rev=201608&r1=201607&r2=201608&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java
(original)
+++ maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java
Fri Jun 24 05:53:57 2005
@@ -85,6 +85,10 @@
 
             updateScmResult.setChanges( changes );
         }
+        else
+        {
+            updateScmResult.setChanges( new ArrayList() );
+        }
 
         return updateScmResult;
     }

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/command/update/LocalUpdateCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/command/update/LocalUpdateCommand.java?rev=201608&r1=201607&r2=201608&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/command/update/LocalUpdateCommand.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/command/update/LocalUpdateCommand.java
Fri Jun 24 05:53:57 2005
@@ -86,9 +86,8 @@
 
         try
         {
-            getLogger().info(
-                              "Updating '" + baseDestination.getAbsolutePath() + "' from
'" + source.getAbsolutePath()
-                                  + "'." );
+            getLogger().info( "Updating '" + baseDestination.getAbsolutePath() + "' from
'" + source.getAbsolutePath() +
+                              "'." );
 
             List fileList = FileUtils.getFiles( source.getAbsoluteFile(), "**", null );
 



Mime
View raw message