From: Toshi MARUYAMA Date: Mon, 17 Sep 2012 23:46:27 +0000 (+0000) Subject: scm: bazaar: convert path encoding from @path_encoding to UTF-8 at adapter revisions... X-Git-Tag: 2.2.0~372 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3ae06921d577fde730421fb8c83de02f535e60f;p=redmine.git 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 --- diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb index b6679812a..976e68787 100644 --- a/lib/redmine/scm/adapters/bazaar_adapter.rb +++ b/lib/redmine/scm/adapters/bazaar_adapter.rb @@ -148,7 +148,8 @@ module Redmine revision.message << "#{$1}\n" else if $1 =~ /^(.*)\s+(\S+)$/ - path = $1.strip + path_locale = $1.strip + path = scm_iconv('UTF-8', @path_encoding, path_locale) revid = $2 case parsing when 'added'