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:
Toshi MARUYAMA 2011-02-22 08:05:29 +00:00
parent 069d057143
commit 1236e037f2
1 changed files with 5 additions and 0 deletions

View File

@ -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']),