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:
parent
c8309589b6
commit
a1e3cf8218
|
@ -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']),
|
||||||
|
|
Loading…
Reference in New Issue