summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-14 15:01:10 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-14 15:01:10 +0000
commit7e5bc046d68db93a3083611178efee03602fd62b (patch)
tree631895827d144f0e24bd39996f50a8197bfd2b94 /lib
parent19d524cdad8f19e9bcd2e003da9e0ed5dc54f59a (diff)
downloadredmine-7e5bc046d68db93a3083611178efee03602fd62b.tar.gz
redmine-7e5bc046d68db93a3083611178efee03602fd62b.zip
scm: cvs: add comment of author regexp fails in some non UTF-8 chars on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5454 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/cvs_adapter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb
index ee8e61d89..059f5cecf 100644
--- a/lib/redmine/scm/adapters/cvs_adapter.rb
+++ b/lib/redmine/scm/adapters/cvs_adapter.rb
@@ -239,6 +239,7 @@ module Redmine
revision = $1
elsif /^date:\s+(\d+.\d+.\d+\s+\d+:\d+:\d+)/ =~ line
date = Time.parse($1)
+ # TODO: This regexp fails in some non UTF-8 chars on Ruby 1.8.
author = /author: ([^;]+)/.match(line)[1]
file_state = /state: ([^;]+)/.match(line)[1]
# TODO: