view tests/test-locale.t @ 44977:afcad425a0b6 stable

pycompat: fix crash when default locale is unknown Instead, fall back to the filesystem encoding if the default locale is unknown.
author Manuel Jacob <me@manueljacob.de>
date Wed, 24 Jun 2020 04:25:34 +0200
parents
children
line wrap: on
line source

  $ LANG=nonexistent LC_ALL=nonexistent LANGUAGE=nonexistent hg version -q
  Mercurial Distributed SCM (version *) (glob)