git-svn: enable "svn.pathnameencoding" on dcommit
authorKazutoshi Satoda <k_satoda@f2.dion.ne.jp>
Mon, 8 Feb 2016 15:20:31 +0000 (00:20 +0900)
committerEric Wong <normalperson@yhbt.net>
Mon, 22 Feb 2016 02:28:34 +0000 (02:28 +0000)
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>
No differences found