Re: [PATCH] fixup! git-remote-testpy: fix path hashing on Python 3

2013-01-28 Thread Junio C Hamano
John Keeping writes: > --- > On Mon, Jan 28, 2013 at 11:44:34AM +0100, Michael Haggerty wrote: >> NAK. It is still not right. If the locale is not utf-8 based, then it >> is incorrect to re-encode the string using utf-8. I think you really >> have to use sys.getfilesystemencoding() as I sugges

[PATCH] fixup! git-remote-testpy: fix path hashing on Python 3

2013-01-28 Thread John Keeping
--- On Mon, Jan 28, 2013 at 11:44:34AM +0100, Michael Haggerty wrote: > NAK. It is still not right. If the locale is not utf-8 based, then it > is incorrect to re-encode the string using utf-8. I think you really > have to use sys.getfilesystemencoding() as I suggested. If you'd asked me what t