[PATCH] Support MBCS for fspath() and checkcase()

Paul Moore p.f.moore at gmail.com
Mon Jul 28 05:51:42 CDT 2008


On 28/07/2008, Shun-ichi GOTO <shunichi.goto at gmail.com> wrote:
> This patch is required for win32mbcs users to get correct folded path name.
> Without this patch, you may see a very strange error message like
> "abort: path not found: c:\xxx\xxx\yyy/*.*" on adding files with
> unknown path component yyy.
>
> Note that this issue is due to lower() against raw bytes
> and it is different from original problem for win32mbcs (0x5c issue).

This seems reasonable - I introduced checkcase and fspath, and never
considered MBCS support, so doing the same as for the other functions
seems like the right approach (based on my complete lack of knowledge
of the subject!)

Paul


More information about the Mercurial-devel mailing list