continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r264776 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Date Tue, 30 Aug 2005 13:19:20 GMT
Author: evenisse
Date: Tue Aug 30 06:19:16 2005
New Revision: 264776

URL: http://svn.apache.org/viewcvs?rev=264776&view=rev
Log:
Set correctly scm result.

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java?rev=264776&r1=264775&r2=264776&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Tue Aug 30 06:19:16 2005
@@ -123,6 +123,8 @@
                 if ( workingDirectoryExists )
                 {
                     actionManager.lookup( "update-working-directory-from-scm" ).execute(
actionContext );
+
+                    scmResult = AbstractContinuumAction.getUpdateScmResult( actionContext,
null );
                 }
                 else
                 {
@@ -130,9 +132,9 @@
                                        workingDirectoryService.getWorkingDirectory( project
).getAbsolutePath() );
 
                     actionManager.lookup( "checkout-project" ).execute( actionContext );
-                }
 
-                scmResult = AbstractContinuumAction.getCheckoutResult( actionContext, null
);
+                    scmResult = AbstractContinuumAction.getCheckoutResult( actionContext,
null );
+                }
 
                 // ----------------------------------------------------------------------
                 // Check to see if there was a error while checking out/updating the project



Mime
View raw message