continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r777783 - /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/PrepareBuildProjectsTaskExecutor.java
Date Sat, 23 May 2009 03:11:16 GMT
Author: ctan
Date: Sat May 23 03:11:16 2009
New Revision: 777783

URL: http://svn.apache.org/viewvc?rev=777783&view=rev
Log:
prevent getting different scm root url
merge -r 777781:777782 from 1.3.x branch

Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/PrepareBuildProjectsTaskExecutor.java

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/PrepareBuildProjectsTaskExecutor.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/PrepareBuildProjectsTaskExecutor.java?rev=777783&r1=777782&r2=777783&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/PrepareBuildProjectsTaskExecutor.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/PrepareBuildProjectsTaskExecutor.java
Sat May 23 03:11:16 2009
@@ -192,7 +192,7 @@
 
             for ( ProjectScmRoot projectScmRoot : scmRoots )
             {
-                if ( projectScmUrl.contains( projectScmRoot.getScmRootAddress() ) )
+                if ( projectScmUrl.startsWith( projectScmRoot.getScmRootAddress() ) )
                 {
                     AbstractContinuumAction.setProjectScmRoot( context, projectScmRoot );
                     break;



Mime
View raw message