summaryrefslogtreecommitdiffstats
path: root/app/models/repository/cvs.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-26 12:28:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-26 12:28:15 +0000
commitd611339baaf3bc147956155897dfc21aac59dcf2 (patch)
tree8e66354684947bd4fa1be432457664950d4b06bc /app/models/repository/cvs.rb
parent0cf15476a35bfada850efc07eb78bc2bb041a8e6 (diff)
downloadredmine-d611339baaf3bc147956155897dfc21aac59dcf2.tar.gz
redmine-d611339baaf3bc147956155897dfc21aac59dcf2.zip
Fixes error with CVS+Postgresql and non-UTF8 commit logs (#917, #1659).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1768 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository/cvs.rb')
-rw-r--r--app/models/repository/cvs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb
index dd9d35c8f..82082b3d6 100644
--- a/app/models/repository/cvs.rb
+++ b/app/models/repository/cvs.rb
@@ -109,7 +109,7 @@ class Repository::Cvs < Repository
cs = changesets.find(:first, :conditions=>{
:committed_on=>revision.time-time_delta..revision.time+time_delta,
:committer=>revision.author,
- :comments=>revision.message
+ :comments=>Changeset.normalize_comments(revision.message)
})
# create a new changeset....