Vote #64239
完了Pb with CVS Server when CVSROOT does not contain user name
0%
説明
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.
journals
I forget one char in the previous description.
The problem comes from the file name lib/redmine/scm/adapters/cvs_adapter.rb.
In the regular expression line 137 root_url.gsub(/^:.*[^:]+:\d*/, ''), the @ should be optional.
--------------------------------------------------------------------------------
Fixed in r2096. Thanks for pointing this out.
--------------------------------------------------------------------------------