PR: MPSCM-65

Submitted by: Phil Steitz

When pom.repository.connection ends with '/' checkout fails.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@354895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2005-12-07 23:09:03 +00:00
parent 1f76ad543b
commit 376aedd9e4
2 changed files with 5 additions and 0 deletions

View File

@ -107,6 +107,10 @@ public class ScmBean
if ( repository.getProvider().equals( "svn" ) ) if ( repository.getProvider().equals( "svn" ) )
{ {
if ( url.endsWith("/") )
{
repository = scmManager.makeScmRepository( url.substring(0, url.length() - 1 ));
}
SvnScmProviderRepository svnRepo = (SvnScmProviderRepository) repository.getProviderRepository(); SvnScmProviderRepository svnRepo = (SvnScmProviderRepository) repository.getProviderRepository();
if ( username != null && username.length() > 0 ) if ( username != null && username.length() > 0 )

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="1.6-SNAPSHOT" date="in SVN"> <release version="1.6-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="fix" issue="MPSCM-65" due-to="Phil Steitz">When pom.repository.connection ends with '/' checkout fails.</action>
<action dev="ltheussl" type="fix" issue="MPSCM-57">Re-add changes.xml file to display announcements.</action> <action dev="ltheussl" type="fix" issue="MPSCM-57">Re-add changes.xml file to display announcements.</action>
<action dev="aheritier" type="update" issue="MPSCM-66">Update to released version of maven-scm.</action> <action dev="aheritier" type="update" issue="MPSCM-66">Update to released version of maven-scm.</action>
<action dev="brett" type="add" issue="MPSCM-47,MPSCM-54">New scm:checkin goal.</action> <action dev="brett" type="add" issue="MPSCM-47,MPSCM-54">New scm:checkin goal.</action>