[ 
https://issues.apache.org/jira/browse/SCM-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964345#comment-17964345
 ] 

Olivier Lamy commented on SCM-90:
---------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#338|https://github.com/apache/maven-scm/issues/338]. 

> cvsroot doesn't work for cvs 1.10 when using pserver
> ----------------------------------------------------
>
>                 Key: SCM-90
>                 URL: https://issues.apache.org/jira/browse/SCM-90
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-cvs
>    Affects Versions: 1.0-beta-1
>         Environment: cvs 1.10
>            Reporter: Shinobu Kawai
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.0-beta-2
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to