# HG changeset patch # User Jesse Glick # Date 2007-07-12 14:55:49 # Node ID 001e8a745834298a3d9f67473732575c7d012301 # Parent 97dbf330069ac9586959c316b5f21a94b720fd05 typo fix diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -63,7 +63,7 @@ def fromlocal(s): Convert a string from the local character encoding to UTF-8 We attempt to decode strings using the encoding mode set by - HG_ENCODINGMODE, which defaults to 'strict'. In this mode, unknown + HGENCODINGMODE, which defaults to 'strict'. In this mode, unknown characters will cause an error message. Other modes include 'replace', which replaces unknown characters with a special Unicode character, and 'ignore', which drops the character.