scm: bazaar: convert path encoding from @path_encoding to UTF-8 at adapter revisions method (#11834)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10417 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-09-17 23:46:27 +00:00
parent a6368733ad
commit a3ae06921d
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ module Redmine
revision.message << "#{$1}\n" revision.message << "#{$1}\n"
else else
if $1 =~ /^(.*)\s+(\S+)$/ if $1 =~ /^(.*)\s+(\S+)$/
path = $1.strip path_locale = $1.strip
path = scm_iconv('UTF-8', @path_encoding, path_locale)
revid = $2 revid = $2
case parsing case parsing
when 'added' when 'added'