maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <dennis.lundb...@mdh.se>
Subject Re: svn commit: r375396 - in /maven/scm/trunk: maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/CvsCommandUtils.java maven-scm-site/src/site/apt/cvs.apt maven-scm-site/src/site/apt/subversion.apt
Date Tue, 07 Feb 2006 18:06:54 GMT
Shouldn't the docs for the settings use <cvs-settings> instead of 
<svn-settings> ?

-- 
Dennis Lundberg

evenisse@apache.org wrote:
> Author: evenisse
> Date: Mon Feb  6 14:08:59 2006
> New Revision: 375396
> 
> URL: http://svn.apache.org/viewcvs?rev=375396&view=rev
> Log:
> Add documentation for cvs provider configuration file
> 
> Modified:
>     maven/scm/trunk/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/CvsCommandUtils.java
>     maven/scm/trunk/maven-scm-site/src/site/apt/cvs.apt
>     maven/scm/trunk/maven-scm-site/src/site/apt/subversion.apt
> 
> Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/CvsCommandUtils.java
> URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/CvsCommandUtils.java?rev=375396&r1=375395&r2=375396&view=diff
> ==============================================================================
> --- maven/scm/trunk/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/CvsCommandUtils.java
(original)
> +++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/CvsCommandUtils.java
Mon Feb  6 14:08:59 2006
> @@ -54,7 +54,7 @@
>  
>          if ( settings.getCompressionLevel() > 0 )
>          {
> -            cl.createArgument().setValue( "-z3" );
> +            cl.createArgument().setValue( "-z" + settings.getCompressionLevel() );
>          }
>          else if ( !System.getProperty( "maven.scm.cvs.use_compression", "true" ).equals(
"false" ) )
>          {
> 
> Modified: maven/scm/trunk/maven-scm-site/src/site/apt/cvs.apt
> URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-site/src/site/apt/cvs.apt?rev=375396&r1=375395&r2=375396&view=diff
> ==============================================================================
> --- maven/scm/trunk/maven-scm-site/src/site/apt/cvs.apt (original)
> +++ maven/scm/trunk/maven-scm-site/src/site/apt/cvs.apt Mon Feb  6 14:08:59 2006
> @@ -58,3 +58,67 @@
>  
>    If you use anonymous access, with an empty password, you need to add a colon (:) between
the username and "@" like it's done in the first example.
>    This tells the SCM provider that there is a password and that it is empty.
> +
> +* Provider Configuration
> +
> +  The provider configuration is defined in ${user.home}/.scm/cvs-settings.xml
> +
> +** Compression level
> +
> +  You can define the compression level in the provider configuration file (default value
is 3). If compression level is equals to 0, there won't be any compression.
> +
> +-------
> +<svn-settings>
> +  <compressionLevel>5</compressionLevel>
> +</svn-settings>
> +-------
> +
> +  If you don't want compression, you can define the system property 'maven.scm.cvs.use_compression'.
> +
> +-------
> +mvn -Dmaven.scm.cvs.use_compression=true scm:changelog
> +-------
> +
> +** .cvsrc file
> +
> +  By default, maven-scm doesn't use .cvsrc file. If you want to use it, you should allow
it inprovider configuration file.
> +
> +-------
> +<svn-settings>
> +  <useCvsrc>true</useCvsrc>
> +</svn-settings>
> +-------
> +
> +** Trace CVS commands
> +
> +  By default, maven-scm doesn't use '-t' global option of cvs command line to trace.
If you want to use it, add the following lines in your provider configuration file :
> +
> +-------
> +<svn-settings>
> +  <traceCvsCommand>true</traceCvsCommand>
> +</svn-settings>
> +-------
> +
> +** Temporary CVS files
> +
> +  If you want to store CVS temporary files in a specific directory instead of default
or value define in $TMPDIR, add the following lines in your provider configuration file :
> +
> +-------
> +<svn-settings>
> +  <temporaryFilesDirectory>your_directory</temporaryFilesDirectory>
> +</svn-settings>
> +-------
> +
> +** Internal CVS variables
> +
> +  If you want to add some internal CVS variables to the cvs command line, , add the
following lines in your provider configuration file :
> +
> +-------
> +<svn-settings>
> +  <cvsVariables>
> +    <key1>value1</key1>
> +    <key2>value2</key2>
> +  </cvsVariables>
> +</svn-settings>
> +-------
> +
> 
> Modified: maven/scm/trunk/maven-scm-site/src/site/apt/subversion.apt
> URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-site/src/site/apt/subversion.apt?rev=375396&r1=375395&r2=375396&view=diff
> ==============================================================================
> --- maven/scm/trunk/maven-scm-site/src/site/apt/subversion.apt (original)
> +++ maven/scm/trunk/maven-scm-site/src/site/apt/subversion.apt Mon Feb  6 14:08:59 2006
> @@ -41,7 +41,7 @@
>  
>  ** Configuration directory
>  
> -  You can define the subversion configuration directory ('--config-dir' svn global option)is
the provider configuration file or with 'maven.scm.svn.config_directory' command line parameter.
> +  You can define the subversion configuration directory ('--config-dir' svn global option)
in the provider configuration file or with 'maven.scm.svn.config_directory' command line parameter.
>  
>  -------
>  <svn-settings>
> 
> 


Mime
View raw message