Patch for remote cvs server and non-English cvs environment
I made a patch for cvs_adapter.rb
1. patch for remote cvs server
We installed Redmine to a server and this is not a cvs repository server.
so the cvsroot value is like below
so we should slice string before '/' in the line 145 of cvs_adapter.rb
this is not obliged to a user for local cvs repository, but is useful for user like me. :-)
2. patch for non-English User
When I want to insert the revision data to MySQL database, I should encode the non-English commit message to UTF-8.
This may be the problem of my environment(Korean), so please check the code !!
Thank you for reading.
#1 Updated by Jean-Philippe Lang over 11 years ago
Concerning 1, I used a different approach (the patch doesn't
work for a local CVS on windows).
I've tested it with a remove CVS, it now works fine as well.
Concerning 2, Setting.repositories_encodings can contain more
than encoding (comma separated). In this case, the patch doesn't
work as only one should be given to iconv.
I'll try to fix it later.
Thanks for the feedback.