scm: mercurial: override "path_encoding" method in adapter (#2664).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5868 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-21 02:38:04 +00:00
parent c8309589b6
commit a1e3cf8218
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@ module Redmine
@path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
end end
def path_encoding
@path_encoding
end
def info def info
tip = summary['repository']['tip'] tip = summary['repository']['tip']
Info.new(:root_url => CGI.unescape(summary['repository']['root']), Info.new(:root_url => CGI.unescape(summary['repository']['root']),