You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org> on 2005/11/30 02:13:06 UTC

[jira] Commented: (SCM-90) cvsroot doesn't work for cvs 1.10 when using pserver

    [ http://jira.codehaus.org/browse/SCM-90?page=comments#action_52370 ] 

Shinobu Kawai Yoshida commented on SCM-90:
------------------------------------------

As a workaround, you can set connection to "scm:cvs:pserver:foo@localhost:-1:/bar:module", but this causes MOJO-152.  :(

> cvsroot doesn't work for cvs 1.10 when using pserver
> ----------------------------------------------------
>
>          Key: SCM-90
>          URL: http://jira.codehaus.org/browse/SCM-90
>      Project: Maven SCM
>         Type: Bug
>   Components: maven-scm-provider-cvs
>     Versions: 1.0-beta-1
>  Environment: cvs 1.10
>     Reporter: Shinobu Kawai Yoshida
>     Priority: Minor

>
>
> In CvsScmProvider#parseScmUrl when using pserver, the default port 2401 is forced with the comment "set default port, it's necessary for checking entries in .cvspass".  However, in cvs 1.10, CVSROOT does not support the port, so it figures that the port number is part of the repository path.  This causes the cvs operation to fail.
> For example, if the urlConnection was "scm:cvs:pserver:foo@localhost:/bar:module", it will set cvsroot to ":pserver:foo@localhost:2401/bar".  This works with cvs 1.11, but 1.10 looks for the path "2401/bar".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira