Project

General

Profile

Actions

Defect #2286

closed

Pb with CVS Server when CVSROOT does not contain user name

Added by Jerome Vanthournout over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2008-12-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Depending on the CVS configuration, it is not mandatory to include a username in the CVSROOT.
For example, a valid CVSROOT is :ext:cvsservername:/cvsdatabase/projects1
With this CVSROOT format, redmine does not import correctly the information from CVS but does not report any error.
When configuring the CVSROOT with a username, :ext:username@cvsservername:/cvsdatabase/projects1, everything goes well.

The problem comes from the file name lib/redmine/scm/adapters/cvs_adapter.rb.
In the regulare expression line 137 root_url.gsub(/^:.*[^:]+:\d*/, ''), the should be optional.

Actions

Also available in: Atom PDF