From continuum-commits-return-2687-apmail-maven-continuum-commits-archive=maven.apache.org@maven.apache.org Tue Dec 12 10:03:37 2006 Return-Path: Delivered-To: apmail-maven-continuum-commits-archive@www.apache.org Received: (qmail 15572 invoked from network); 12 Dec 2006 10:03:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 10:03:37 -0000 Received: (qmail 88378 invoked by uid 500); 12 Dec 2006 10:03:44 -0000 Delivered-To: apmail-maven-continuum-commits-archive@maven.apache.org Received: (qmail 88358 invoked by uid 500); 12 Dec 2006 10:03:44 -0000 Mailing-List: contact continuum-commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-commits@maven.apache.org Received: (qmail 88345 invoked by uid 99); 12 Dec 2006 10:03:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 02:03:44 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 02:03:36 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id C727B1A981C; Tue, 12 Dec 2006 02:02:51 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: continuum-commits@maven.apache.org From: evenisse@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061212100251.C727B1A981C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 {