scm: mercurial: override initialize() for path encoding (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4919 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
069d057143
commit
1236e037f2
|
@ -78,6 +78,11 @@ module Redmine
|
|||
end
|
||||
end
|
||||
|
||||
def initialize(url, root_url=nil, login=nil, password=nil)
|
||||
super
|
||||
@path_encoding = 'UTF-8'
|
||||
end
|
||||
|
||||
def info
|
||||
tip = summary['repository']['tip']
|
||||
Info.new(:root_url => CGI.unescape(summary['repository']['root']),
|
||||
|
|
Loading…
Reference in New Issue