##// END OF EJS Templates
scm: mercurial: convert copied file path encoding (#2664)....
Toshi MARUYAMA -
r4875:32e69dcaca6c
parent child
Show More
@@ -196,7 +196,9 module Redmine
196
196
197 as_ary(log['logentry']).each do |le|
197 as_ary(log['logentry']).each do |le|
198 cpalist = as_ary(le['paths']['path-copied']).map do |e|
198 cpalist = as_ary(le['paths']['path-copied']).map do |e|
199 [e['__content__'], e['copyfrom-path']].map { |s| CGI.unescape(s) }
199 [e['__content__'], e['copyfrom-path']].map do |s|
200 scm_iconv('UTF-8', @path_encoding, CGI.unescape(s))
201 end
200 end
202 end
201 cpmap = Hash[*cpalist.flatten]
203 cpmap = Hash[*cpalist.flatten]
202
204
General Comments 0
You need to be logged in to leave comments. Login now