[PATCH 2 of 2] color: fix a documentation typo

Matt Harbison mharbison72 at gmail.com
Sat Dec 15 23:29:45 EST 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1544933643 18000
#      Sat Dec 15 23:14:03 2018 -0500
# Node ID 4e1802a4834c9bf0a04eac3a981e503491016c3e
# Parent  0c1bac5efa4fe85778e5e6aa23380d9a7d73f57a
color: fix a documentation typo

diff --git a/mercurial/color.py b/mercurial/color.py
--- a/mercurial/color.py
+++ b/mercurial/color.py
@@ -245,7 +245,7 @@ def _modesetup(ui):
             # Since "ansi" could result in terminal gibberish, we error on the
             # side of selecting "win32". However, if w32effects is not defined,
             # we almost certainly don't support "win32", so don't even try.
-            # w32ffects is not populated when stdout is redirected, so checking
+            # w32effects is not populated when stdout is redirected, so checking
             # it first avoids win32 calls in a state known to error out.
             if ansienviron or not w32effects or win32.enablevtmode():
                 realmode = 'ansi'


More information about the Mercurial-devel mailing list