##// END OF EJS Templates
scm: cvs: add comment of author regexp fails in some non UTF-8 chars on Ruby 1.8....
Toshi MARUYAMA -
r5334:7e5bc046d68d
parent child
Show More
@@ -239,6 +239,7 module Redmine
239 revision = $1
239 revision = $1
240 elsif /^date:\s+(\d+.\d+.\d+\s+\d+:\d+:\d+)/ =~ line
240 elsif /^date:\s+(\d+.\d+.\d+\s+\d+:\d+:\d+)/ =~ line
241 date = Time.parse($1)
241 date = Time.parse($1)
242 # TODO: This regexp fails in some non UTF-8 chars on Ruby 1.8.
242 author = /author: ([^;]+)/.match(line)[1]
243 author = /author: ([^;]+)/.match(line)[1]
243 file_state = /state: ([^;]+)/.match(line)[1]
244 file_state = /state: ([^;]+)/.match(line)[1]
244 # TODO:
245 # TODO:
General Comments 0
You need to be logged in to leave comments. Login now