##// END OF EJS Templates
scm: mercurial: fix loss non ASCII paths if path_encoding is '' (#2664)....
Toshi MARUYAMA -
r5507:ee7fe09b1ea3
parent child
Show More
@@ -83,7 +83,7 module Redmine
83
83
84 def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
84 def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
85 super
85 super
86 @path_encoding = path_encoding || 'UTF-8'
86 @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
87 end
87 end
88
88
89 def info
89 def info
General Comments 0
You need to be logged in to leave comments. Login now