summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-17 23:45:31 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-17 23:45:31 +0000
commitf230ffbd543fa0332146664525b7cf16619f6a16 (patch)
treecac589cbe46984c03755e9513cdc77277311cbbc
parent51e6c7589e73c10bf1b08bbdfabac9effc884b8e (diff)
downloadredmine-f230ffbd543fa0332146664525b7cf16619f6a16.tar.gz
redmine-f230ffbd543fa0332146664525b7cf16619f6a16.zip
scm: bazaar: add @path_encoding instance value and set it UTF-8 at adapter initialize method (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10415 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/redmine/scm/adapters/bazaar_adapter.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb
index a069146a2..e068388e6 100644
--- a/lib/redmine/scm/adapters/bazaar_adapter.rb
+++ b/lib/redmine/scm/adapters/bazaar_adapter.rb
@@ -57,6 +57,11 @@ module Redmine
end
end
+ def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
+ @path_encoding = 'UTF-8'
+ super
+ end
+
# Get info about the repository
def info
cmd_args = %w|revno|