Skip to content

enable "svn.pathnameencoding" on dcommit

Kazutoshi Satoda git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2git-svn: enable "svn.pathnameencoding" on dcommitperl/Git/SVN/Editor.pm+1 -01 reply
2/2git-svn: apply "svn.pathnameencoding" before URL encodingperl/Git/SVN/Editor.pm+2 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] enable "svn.pathnameencoding" on dcommit

These are small fixes to problems I encountered using git-svn with svn.pathnameencoding configuration (cp932 in my case). The problems happen only when sending changes on non-ASCII paths.

I'm sorry not coming with test scripts, but I couldn't figure out how to write tests to reproduce problems happen only with non-UTF-8 paths while the tests seems to be run on UTF-8 locale.

I just ran existing tests with these fixes and there was no breakage (with UTF-8 locale).

I think sending these fixes as-is is better than not sending because of my lack of ability to write such tests. I also expect that these fixes can be applied as-is because there were some small fixes without tests in the history of file perl/Git/SVN/Editor.pm.

The first one is an updated fix of an very old but not applied patch.
http://comments.gmane.org/gmane.comp.version-control.git/164166#o2

The second one can be seen as a separate fix, but it takes effect only after the first one.

Kazutoshi SATODA (2):
git-svn: enable "svn.pathnameencoding" on dcommit
git-svn: apply "svn.pathnameencoding" before URL encoding

 perl/Git/SVN/Editor.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.0