]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: override "path_encoding" method in adapter (#2664).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 May 2011 02:38:04 +0000 (02:38 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 May 2011 02:38:04 +0000 (02:38 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5868 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/mercurial_adapter.rb

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