scm: cvs: convert author encoding with log encoding setting.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-04-14 15:39:00 +00:00
parent bebf8247a7
commit 04a22fa757
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class Repository::Cvs < Repository
fetch_since = latest_changeset ? latest_changeset.committed_on : nil
transaction do
tmp_rev_num = 1
scm.revisions('', fetch_since, nil, :with_paths => true) do |revision|
scm.revisions('', fetch_since, nil, :log_encoding => repo_log_encoding) do |revision|
# only add the change to the database, if it doen't exists. the cvs log
# is not exclusive at all.
tmp_time = revision.time.clone