maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r656452 - /maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateConsumer.java
Date Wed, 14 May 2008 22:15:55 GMT
Author: evenisse
Date: Wed May 14 15:15:54 2008
New Revision: 656452

URL: http://svn.apache.org/viewvc?rev=656452&view=rev
Log:
[SCM-368] Fix windows path length limitation (http://subversion.tigris.org/faq.html#long-paths)

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateConsumer.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateConsumer.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateConsumer.java?rev=656452&r1=656451&r2=656452&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateConsumer.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateConsumer.java
Wed May 14 15:15:54 2008
@@ -62,6 +62,11 @@
         String statusString = line.substring( 0, 1 );
 
         String file = line.substring( 3 ).trim();
+        //[SCM-368]
+        if ( file.startsWith( workingDirectory.getAbsolutePath() ) )
+        {
+            file = file.substring( this.workingDirectory.getAbsolutePath().length() + 1 );
+        }
 
         ScmFileStatus status;
 



Mime
View raw message