continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r486079 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
Date Tue, 12 Dec 2006 10:02:51 GMT
Author: evenisse
Date: Tue Dec 12 02:02:50 2006
New Revision: 486079

URL: http://svn.apache.org/viewvc?view=rev&rev=486079
Log:
The delimiter after scm:svn isn't necessary a ":"

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java?view=diff&rev=486079&r1=486078&r2=486079
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
Tue Dec 12 02:02:50 2006
@@ -49,7 +49,7 @@
 public class ReleasePrepareAction
     extends ContinuumActionSupport
 {
-    private static final String SCM_SVN_PROTOCOL_PREFIX = "scm:svn:";
+    private static final String SCM_SVN_PROTOCOL_PREFIX = "scm:svn";
 
     private int projectId;
 
@@ -92,7 +92,7 @@
         {
             scmTagBase = new SvnScmProviderRepository( scmUrl, scmUsername, scmPassword ).getTagBase();
             // strip the Maven scm protocol prefix
-            scmTagBase = scmTagBase.substring( SCM_SVN_PROTOCOL_PREFIX.length() );
+            scmTagBase = scmTagBase.substring( SCM_SVN_PROTOCOL_PREFIX.length() + 1 );
         }
         else
         {



Mime
View raw message