maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven-scm/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib CvsScmProvider.java
Date Thu, 28 Oct 2004 23:30:15 GMT
evenisse    2004/10/28 16:30:15

  Modified:    maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib
                        CvsScmProvider.java
  Log:
  Use delimiter define in api.
  I can't fix for the moment test case because generated path for cvs file in target are too
long. Under windows, we are limited to 255 characters for path :-(
  
  Revision  Changes    Path
  1.3       +4 -4      maven-scm/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/CvsScmProvider.java
  
  Index: CvsScmProvider.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/CvsScmProvider.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CvsScmProvider.java	26 Oct 2004 12:43:16 -0000	1.2
  +++ CvsScmProvider.java	28 Oct 2004 23:30:15 -0000	1.3
  @@ -53,7 +53,7 @@
           return commands;
       }
   
  -    protected String getScmType()
  +    public String getScmType()
       {
           return "cvs";
       }
  @@ -62,12 +62,12 @@
       // ScmProvider Implementation
       // ----------------------------------------------------------------------
   
  -    public ScmProviderRepository makeProviderScmRepository( String scmSpecificUrl )
  +    public ScmProviderRepository makeProviderScmRepository( String scmSpecificUrl, String
delimiter )
       	throws ScmRepositoryException
       {
           // TODO: make sure one can use different types of delimiters
   
  -        String[] tokens = StringUtils.split( scmSpecificUrl, ":" );
  +        String[] tokens = StringUtils.split( scmSpecificUrl, delimiter );
   
           if ( tokens.length < 3 )
           {
  
  
  

Mime
View raw message