@@ -213,13 +213,15 module Redmine | |||||
213 | parsing_descr = 2 |
|
213 | parsing_descr = 2 | |
214 | fileaction = $1 |
|
214 | fileaction = $1 | |
215 | filepath = $2 |
|
215 | filepath = $2 | |
216 | files << {:action => fileaction, :path => filepath} |
|
216 | p = scm_iconv('UTF-8', @path_encoding, filepath) | |
|
217 | files << {:action => fileaction, :path => p} | |||
217 | elsif (parsing_descr == 1 || parsing_descr == 2) \ |
|
218 | elsif (parsing_descr == 1 || parsing_descr == 2) \ | |
218 | && line =~ /^:\d+\s+\d+\s+[0-9a-f.]+\s+[0-9a-f.]+\s+(\w)\d+\s+(\S+)\t(.+)$/ |
|
219 | && line =~ /^:\d+\s+\d+\s+[0-9a-f.]+\s+[0-9a-f.]+\s+(\w)\d+\s+(\S+)\t(.+)$/ | |
219 | parsing_descr = 2 |
|
220 | parsing_descr = 2 | |
220 | fileaction = $1 |
|
221 | fileaction = $1 | |
221 | filepath = $3 |
|
222 | filepath = $3 | |
222 | files << {:action => fileaction, :path => filepath} |
|
223 | p = scm_iconv('UTF-8', @path_encoding, filepath) | |
|
224 | files << {:action => fileaction, :path => p} | |||
223 | elsif (parsing_descr == 1) && line.chomp.to_s == "" |
|
225 | elsif (parsing_descr == 1) && line.chomp.to_s == "" | |
224 | parsing_descr = 2 |
|
226 | parsing_descr = 2 | |
225 | elsif (parsing_descr == 1) |
|
227 | elsif (parsing_descr == 1) |
General Comments 0
You need to be logged in to leave comments.
Login now