maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r449599 - /maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/command/login/CvsPass.java
Date Mon, 25 Sep 2006 08:14:04 GMT
Author: evenisse
Date: Mon Sep 25 01:14:03 2006
New Revision: 449599

URL: http://svn.apache.org/viewvc?view=rev&rev=449599
Log:
[SCM-74] Add more information on "password is required" cryptic error message.

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/command/login/CvsPass.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/command/login/CvsPass.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/command/login/CvsPass.java?view=diff&rev=449599&r1=449598&r2=449599
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/command/login/CvsPass.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/command/login/CvsPass.java
Mon Sep 25 01:14:03 2006
@@ -126,7 +126,7 @@
 
             if ( password == null )
             {
-                throw new ScmException( "password is required" );
+                throw new ScmException( "password is required. You must run a 'cvs -d " +
cvsRoot + " login' first." );
             }
 
             //logger.debug( "password: " + password );



Mime
View raw message