Commit ae8386b3 authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

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
parent 34832d87
......@@ -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']),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment