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
This commit is contained in:
Toshi MARUYAMA 2011-04-14 15:01:10 +00:00
parent 19d524cdad
commit 7e5bc046d6
1 changed files with 1 additions and 0 deletions

View File

@ -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: