]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: convert path encoding from @path_encoding to UTF-8 at adapter revisions...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 17 Sep 2012 23:46:27 +0000 (23:46 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 17 Sep 2012 23:46:27 +0000 (23:46 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10417 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/bazaar_adapter.rb

index b6679812a15b8c51c507fd8eafcc9bba54b4ab89..976e68787bffbc6549b3ed2a61f703215d9896d1 100644 (file)
@@ -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'