# HG changeset patch # User Matt Mackall # Date 1165184193 21600 # Node ID 6859d049ed9c6d413871fc8d7e8ae44d51b21e54 # Parent a88e02081a88ccc0bdb8a1ddf3423e2c7617820c Add documentation for charset encoding options diff --git a/doc/hg.1.txt b/doc/hg.1.txt --- a/doc/hg.1.txt +++ b/doc/hg.1.txt @@ -172,6 +172,20 @@ HGEDITOR:: (deprecated, use .hgrc) +HGENCODING:: + This overrides the default locale setting detected by Mercurial. + This setting is used to convert data including usernames, + changeset descriptions, tag names, and branches. This setting can + be overridden with the --encoding command-line option. + +HGENCODINGMODE:: + This sets Mercurial's behavior for handling unknown characters + while transcoding user inputs. The default is "strict", which + causes Mercurial to abort if it can't translate a character. Other + settings include "replace", which replaces unknown characters, and + "ignore", which drops them. This setting can be overridden with + the --encodingmode command-line option. + HGMERGE:: An executable to use for resolving merge conflicts. The program will be executed with three arguments: local file, remote file,