git-svn: enable "svn.pathnameencoding" on dcommit
commit40f47448a91666be8e2befe521525f3f507344f9
authorKazutoshi Satoda <k_satoda@f2.dion.ne.jp>
Mon, 8 Feb 2016 15:20:31 +0000 (9 00:20 +0900)
committerEric Wong <normalperson@yhbt.net>
Mon, 22 Feb 2016 02:28:34 +0000 (22 02:28 +0000)
tree58aae0460e477243f7c8c8e9bb2ca7c18b658fbb
parent3df0d26ca6664a20364a323ffe9915459901cf05
git-svn: enable "svn.pathnameencoding" on dcommit

Without the initialization of $self->{pathnameencoding}, conversion in
repo_path() is always skipped as $self->{pathnameencoding} is undefined
even if "svn.pathnameencoding" is configured.

The lack of conversion results in mysterious failure of dcommit (e.g.
"Malformed XML") which happen only when a commit involves a change on
non-ASCII path.

[ew: add test case to t9115,
 squash LC_ALL=$a_utf8_locale export from Kazutoshi for Cygwin]

Signed-off-by: Kazutoshi SATODA <k_satoda@f2.dion.ne.jp>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
perl/Git/SVN/Editor.pm
t/t9115-git-svn-dcommit-funky-renames.sh