D2057: rust implementation of hg status

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Mar 8 13:19:07 EST 2018


durin42 added a comment.


  In https://phab.mercurial-scm.org/D2057#43988, @kevincox wrote:
  
  > In https://phab.mercurial-scm.org/D2057#43987, @durin42 wrote:
  >
  > > Mercurial tries to be principled about always treating filenames as bytes. AIUI https://www.mercurial-scm.org/wiki/WindowsUTF8Plan is still the plan of record there?
  >
  >
  > 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?
  
  We may have to make adjustments to this plan on macOS with APFS, but I'm not sure about that yet.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2057

To: Ivzhh, #hg-reviewers, kevincox
Cc: glandium, krbullock, indygreg, durin42, kevincox, mercurial-devel


More information about the Mercurial-devel mailing list