Directory listing with CVS v1.11 patch
Directory listing with CVS SCM uses rls command which was not available in CVS versons prior to 1.12.
Could the CVS adapter use cvs -q -n rlog -R to get the repository contents listing?
#2 Updated by alexander smishlajev over 11 years ago
- File cvs_adapter.rb.patch added
- Status changed from Closed to Reopened
Well, but the "stable" CVS version still is 1.11, and 1.11 is shipped with the latest production releases of FreeBSD.
The patch is attached.
I admit that the variant requiring CVS version 1.12 is much more effective. Perhaps Redmine could check the cvs version and then choose which code to run?
#5 Updated by Gareth Sylvester-Bradley over 10 years ago
FWIW, I've now been using this patch successfully for several months to enable repository browsing for our CVS 1.11 server. Thanks!
This week I just needed to tweak the regular expression that parses the revision info very slightly to play nice with patch #6090 to make downloading binary files from a CVS repository work when running Redmine on Windows.
Change line 65 from:
re_loginfo = "revision ([0-9.]+)\s*\n"to:
re_loginfo = "revision ([0-9.]+)\s*\r?\n"