D8039: chg: force-set LC_CTYPE on server start to actual value from the environment

quark (Jun Wu) phabricator at mercurial-scm.org
Thu Jan 30 10:50:33 EST 2020


quark added a comment.


  What do you think about this approach:
  
  1. The server detects that LC_TYPE is coerced.
  2. When handling the "validate" command, the server sends back "invalidate this server, and fallback to original hg" response.
  
  This makes chg/non-chg behave consistently with some startup overhead in mis-configured environment. The chg client can potentially print a warning to remind the user to fix their environment.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8039/new/

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

To: spectral, #hg-reviewers
Cc: quark, yuja, mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list