RFC: safe pattern matching for problematic encoding

Noel Grandin noel at peralex.com
Thu May 24 07:38:07 CDT 2012



On 2012-05-24 14:16, FUJIWARA Katsunori wrote:
> 1. add the file, of which name is changed by NFD, on MacOS 2

Perhaps the first step towards solving these problems is to build 3 
mock-filesystem libraries
- a MacOS-type-NFD system
- a Windows-type case-insensitive system
- a straightforward Linux-type system

And then create some unit tests using these mock-filesystem libraries 
which expose the problems.

Then everybody can test and fix without needing 3 different boxes :-)

Links:
https://launchpad.net/mockfs

Disclaimer: http://www.peralex.com/disclaimer.html




More information about the Mercurial-devel mailing list