Actions
Defect #14422
closedCVS root_url not recognized when connection string does not include port
Defect #14422:
CVS root_url not recognized when connection string does not include port
Resolution:
Fixed
Affected version:
Description
The patch fixes a bug in the CVS SCM module of the standard version of redmine (2.3.1).
Without this bugfix, the revisions are not handled correctly. Each revision-number (e.g. 1.4) is only accepted once by the redmine repository, although each file has its own revision-numbers.
In our case the CVSROOT looks like this:
The problem is located in \lib\redmine\scm\adapters\cvs_adapter.rb in the method root_url_path
--> RegExp was changed from to
This lets the property return the correct part of the CVSROOT-URL
("/repo" instead of ":cvs_password@123.456.789.123:9876/repo")
And now the function 'fetch_changesets' works as expected with CVS.
Find attached the patch file.
Files
Actions