[
https://issues.apache.org/jira/browse/SCM-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960155#comment-17960155
]
ASF GitHub Bot commented on SCM-90:
-----------------------------------
jira-importer commented on issue #338:
URL: https://github.com/apache/maven-scm/issues/338#issuecomment-2964586476
**[Emmanuel
Venisse](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=evenisse)**
commented
already fixed
> 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)