scm: cvs: set path encoding instance value (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5461 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
50fe1ecc18
commit
eae0620e3a
|
@ -67,6 +67,7 @@ module Redmine
|
||||||
# password -> unnecessary too
|
# password -> unnecessary too
|
||||||
def initialize(url, root_url=nil, login=nil, password=nil,
|
def initialize(url, root_url=nil, login=nil, password=nil,
|
||||||
path_encoding=nil)
|
path_encoding=nil)
|
||||||
|
@path_encoding = path_encoding || 'UTF-8'
|
||||||
@url = url
|
@url = url
|
||||||
# TODO: better Exception here (IllegalArgumentException)
|
# TODO: better Exception here (IllegalArgumentException)
|
||||||
raise CommandFailed if root_url.blank?
|
raise CommandFailed if root_url.blank?
|
||||||
|
|
Loading…
Reference in New Issue