D2057: rust implementation of hg status
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Fri Mar 9 07:33:03 EST 2018
yuja added a comment.
>> Reading that page it seems to claim that filenames should be utf8, not bytes. If utf8, this is what the code does, but if it is bytes that definitely won't work.
>
> IIRC it's bytes everyplace except Windows, where we pretend utf8 is real?
It's MBCS (i.e. ANSI multi-byte characters) on Windows. The plain was to support
both MBCS and UTF-8-variant on Windows, but that isn't a thing yet.
Perhaps we'll have to write a platform compatibility layer (or serialization/deserialization
layer) on top of the Rust's file API, something like vfs.py we have in Python code.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2057
To: Ivzhh, #hg-reviewers, kevincox
Cc: yuja, glandium, krbullock, indygreg, durin42, kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list