Patch #236
closedPatch for remote cvs server and non-English cvs environment
0%
Description
Hello.
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
:pserver:username@yourdomain.com:/home/cvsroot
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.
Files
Related issues
Updated by Jean-Philippe Lang about 17 years ago
Hi,
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.
Regards
Updated by Toshi MARUYAMA almost 14 years ago
- Status changed from New to Closed