diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-17 23:46:27 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-17 23:46:27 +0000 |
commit | a3ae06921d577fde730421fb8c83de02f535e60f (patch) | |
tree | 6377dfc8861088eb87292c1790ed675dcdfa461c /lib/redmine/scm | |
parent | a6368733ad221b8e042c3dbf152d948931689cb9 (diff) | |
download | redmine-a3ae06921d577fde730421fb8c83de02f535e60f.tar.gz redmine-a3ae06921d577fde730421fb8c83de02f535e60f.zip |
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
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r-- | lib/redmine/scm/adapters/bazaar_adapter.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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' |