Redmine/lib/redmine/scm
Toshi MARUYAMA ad18cfda32 scm: mercurial: escape any filenames by urlescape (#2664, #7064).
In Mercurial, filename is not UTF-8 but byte-string.
So it should be escaped to UTF-8-safe string before parsing as XML document.

NOTE: Mercurial's {|obfuscate} filter cannot be used here, because it treats
filename as encoded by HGENCODING.

Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:02:24 +00:00
..
adapters scm: mercurial: escape any filenames by urlescape (#2664, #7064). 2011-01-05 15:02:24 +00:00
base.rb Converted the REDMINE_SUPPORTED_SCM constant to a class 2010-02-16 22:41:59 +00:00