scm: update adapter initialize() to use path encoding (#2664, #2274).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4941 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-02-24 05:58:59 +00:00
parent 4bf84ca468
commit 9937ac677f
6 changed files with 23 additions and 18 deletions

View File

@@ -81,9 +81,9 @@ module Redmine
end
end
def initialize(url, root_url=nil, login=nil, password=nil)
def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
super
@path_encoding = 'UTF-8'
@path_encoding = path_encoding || 'UTF-8'
end
def info