From a3ae06921d577fde730421fb8c83de02f535e60f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 17 Sep 2012 23:46:27 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/bazaar_adapter.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- 2.39.5